diff --git a/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java b/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java index 1c48a75a5de8..c66c9cd2204f 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java @@ -894,7 +894,7 @@ public class LookupImpl extends LightweightHint implements LookupEx, Disposable myScrollPane.getVerticalScrollBar().addAdjustmentListener(new AdjustmentListener() { @Override public void adjustmentValueChanged(AdjustmentEvent e) { - if (!myShown || myUpdating) return; + if (!myShown || myUpdating || myDisposed) return; alarm.addRequest(new Runnable() { @Override public void run() {