change rollback

This commit is contained in:
Eugene Zhuravlev
2011-04-09 19:36:06 +02:00
parent a59b9771d1
commit f294593477
@@ -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();