From eebaa506c57a76d24d9432317edcbcd1682f5162 Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Wed, 17 Nov 2010 11:07:16 +0300 Subject: [PATCH] forcefully restart all files on dumbness change --- .../com/intellij/codeInsight/daemon/impl/DaemonListeners.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonListeners.java b/platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonListeners.java index c9c8549126d8..7c020d84aa7d 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonListeners.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonListeners.java @@ -190,11 +190,11 @@ class DaemonListeners implements Disposable { connection.subscribe(DumbService.DUMB_MODE, new DumbService.DumbModeListener() { public void enteredDumbMode() { - stopDaemon(true); + myDaemonCodeAnalyzer.restart(); } public void exitDumbMode() { - stopDaemon(true); + myDaemonCodeAnalyzer.restart(); } });