From 7a6ff4c869f1252f7ae93dd2449e989891653d76 Mon Sep 17 00:00:00 2001 From: "Maxim.Mossienko" Date: Mon, 28 Oct 2013 17:56:42 +0100 Subject: [PATCH] check disposed state --- .../intellij/find/impl/livePreview/LivePreviewController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/lang-impl/src/com/intellij/find/impl/livePreview/LivePreviewController.java b/platform/lang-impl/src/com/intellij/find/impl/livePreview/LivePreviewController.java index 9ba74e3e134e..4c22654f5340 100644 --- a/platform/lang-impl/src/com/intellij/find/impl/livePreview/LivePreviewController.java +++ b/platform/lang-impl/src/com/intellij/find/impl/livePreview/LivePreviewController.java @@ -117,6 +117,7 @@ public class LivePreviewController implements LivePreview.Delegate, FindUtil.Rep Runnable request = new Runnable() { @Override public void run() { + if (myDisposed) return; mySearchResults.updateThreadSafe(copy, allowedToChangedEditorSelection, null, stamp); } };