mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
change rollback
This commit is contained in:
+6
-7
@@ -144,13 +144,12 @@ public final class LocalFileSystemImpl extends LocalFileSystemBase implements Ap
|
||||
}
|
||||
}
|
||||
|
||||
// IMPORTANT! VFS refresh is a MUST here, because otherwise VirlualFile objects will be leaked in the
|
||||
// components listening to VFS and relying on VFS contract
|
||||
ApplicationManager.getApplication().runWriteAction(new Runnable() {
|
||||
public void run() {
|
||||
refresh(false);
|
||||
}
|
||||
});
|
||||
// grand VFS refresh significantly slows down local tests and generally not needed
|
||||
//ApplicationManager.getApplication().runWriteAction(new Runnable() {
|
||||
// public void run() {
|
||||
// refresh(false);
|
||||
// }
|
||||
//});
|
||||
|
||||
myRootsToWatch.clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user