From 057979ea64f39e0322f1f0ed0f8da2b146bc50a9 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Thu, 6 Jun 2019 16:53:11 +0300 Subject: [PATCH] IDEA-214615 Memory leak in DocumentationComponent through a blinking caret GitOrigin-RevId: 1013bb2ce007bf3bfb1d533b4fb1362c0b10dc85 --- .../codeInsight/documentation/DocumentationComponent.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationComponent.java b/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationComponent.java index eb11385b32fd..a5e87a3f9279 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationComponent.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationComponent.java @@ -1503,6 +1503,7 @@ public class DocumentationComponent extends JPanel implements Disposable, DataPr @Override public void dispose() { + myEditorPane.getCaret().setVisible(false); // Caret, if blinking, has to be deactivated. myBackStack.clear(); myForwardStack.clear(); myKeyboardActions.clear();