mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
an assertion for uncoupled before/after vfs events
This commit is contained in:
@@ -48,6 +48,9 @@ class IgnoredFileCache {
|
||||
@Override
|
||||
public void before(@NotNull List<? extends VFileEvent> events) {
|
||||
// during VFS event processing the system may be in inconsistent state, don't cache it
|
||||
if (!myEnableCache) {
|
||||
LOG.error("VFS before event received without a matching after: " + events);
|
||||
}
|
||||
myEnableCache = false;
|
||||
clearCacheForChangedFiles(events);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user