diff --git a/platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPersistentIndex.java b/platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPersistentIndex.java index d342909dc69f..40dfb3f6a812 100644 --- a/platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPersistentIndex.java +++ b/platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPersistentIndex.java @@ -137,6 +137,7 @@ public class VcsLogPersistentIndex implements VcsLogIndex, Disposable { @Override public synchronized void scheduleIndex(boolean full) { + if (Disposer.isDisposed(this)) return; if (myCommitsToIndex.isEmpty() || myIndexStorage == null) return; // for fresh index, wait for complete log to load and index everything in one command if (myIndexStorage.isFresh() && !full) return;