diff --git a/platform/lang-impl/src/com/intellij/codeInsight/hint/ImplementationViewComponent.java b/platform/lang-impl/src/com/intellij/codeInsight/hint/ImplementationViewComponent.java index 0a8a4aae9a2a..ee459ab948ff 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/hint/ImplementationViewComponent.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/hint/ImplementationViewComponent.java @@ -271,6 +271,7 @@ public class ImplementationViewComponent extends JPanel { update(elements, new PairFunction, Boolean>() { @Override public Boolean fun(PsiElement[] psiElements, List fileDescriptors) { + if (myEditor.isDisposed()) return false; if (psiElements.length == 0) return false; final Project project = psiElements[0].getProject();