mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
added write action assertion back for the case of process one event which was removed accidentally
This commit is contained in:
+1
@@ -665,6 +665,7 @@ public class PersistentFSImpl extends PersistentFS implements ApplicationCompone
|
||||
}
|
||||
|
||||
private void processEvent(@NotNull VFileEvent event) {
|
||||
ApplicationManager.getApplication().assertWriteAccessAllowed();
|
||||
// optimisation: skip all groupings
|
||||
if (event.isValid()) {
|
||||
BulkFileListener publisher = myEventBus.syncPublisher(VirtualFileManager.VFS_CHANGES);
|
||||
|
||||
Reference in New Issue
Block a user