From bb2eed2b0eb1c9db868e6a54f88c8b081aabf189 Mon Sep 17 00:00:00 2001 From: Anna Kozlova Date: Tue, 10 Mar 2015 15:33:23 +0100 Subject: [PATCH] ensure tools presentation are cleaned on restart (cherry picked from commit 060ded8ee21102d13b586e7a53486a3c5353f3f0) --- .../intellij/codeInspection/ex/GlobalInspectionContextBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/analysis-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextBase.java b/platform/analysis-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextBase.java index b284780ae278..27451fae29fd 100644 --- a/platform/analysis-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextBase.java +++ b/platform/analysis-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextBase.java @@ -187,7 +187,7 @@ public class GlobalInspectionContextBase extends UserDataHolderBase implements G public void doInspections(@NotNull final AnalysisScope scope) { if (!GlobalInspectionContextUtil.canRunInspections(myProject, true)) return; - cleanupTools(); + cleanup(); ApplicationManager.getApplication().invokeLater(new Runnable() { @Override