Switch to 181 platform
This commit is contained in:
@@ -429,11 +429,11 @@ public class KotlinTestUtils {
|
||||
|
||||
private static void deleteOnShutdown(File file) {
|
||||
if (filesToDelete.isEmpty()) {
|
||||
ShutDownTracker.getInstance().registerShutdownTask(() -> ShutDownTracker.invokeAndWait(true, true, () -> {
|
||||
ShutDownTracker.getInstance().registerShutdownTask(() -> {
|
||||
for (File victim : filesToDelete) {
|
||||
FileUtil.delete(victim);
|
||||
}
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
||||
filesToDelete.add(file);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user