EA-87767 - assert: ComponentManagerImpl.getPicoContainer
authorAnna Kozlova <anna.kozlova@jetbrains.com>
Sun, 4 Sep 2016 18:13:37 +0000 (21:13 +0300)
committerAnna Kozlova <anna.kozlova@jetbrains.com>
Mon, 5 Sep 2016 04:57:44 +0000 (07:57 +0300)
platform/analysis-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextBase.java

index df4b32f43f13eb710938da5e6d954146189376a7..e63b99ca61ecb06df331cafbc1a61dc1a91bf864 100644 (file)
@@ -189,7 +189,7 @@ public class GlobalInspectionContextBase extends UserDataHolderBase implements G
     ApplicationManager.getApplication().invokeLater(() -> {
       myCurrentScope = scope;
       launchInspections(scope);
-    }, ApplicationManager.getApplication().getDisposed());
+    }, myProject.getDisposed());
   }