mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Delete files after destroying processes that may be accessing them
Closes gh-25457
This commit is contained in:
+1
-1
@@ -97,8 +97,8 @@ class EmbeddedServerContainerInvocationContextProvider
|
||||
|
||||
@Override
|
||||
public void afterAll(ExtensionContext context) throws Exception {
|
||||
FileSystemUtils.deleteRecursively(this.tempDir);
|
||||
cleanupCaches();
|
||||
FileSystemUtils.deleteRecursively(this.tempDir);
|
||||
}
|
||||
|
||||
private void cleanupCaches() {
|
||||
|
||||
Reference in New Issue
Block a user