IDEA-214615 Memory leak in DocumentationComponent through a blinking caret

GitOrigin-RevId: 1013bb2ce007bf3bfb1d533b4fb1362c0b10dc85
This commit is contained in:
Sergey Prigogin
2019-06-06 17:15:44 +03:00
committed by intellij-monorepo-bot
parent 228f63ae83
commit 057979ea64
@@ -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();