fix memleak IDEADEV-37024

This commit is contained in:
Eugene Zhuravlev
2009-10-02 18:33:21 +04:00
parent 832f94cf93
commit 0ff02eaaaf
@@ -366,6 +366,12 @@ public class DebuggerTreeBase extends DnDAwareTree implements Disposable {
}
public void dispose() {
final JComponent tooltip = myCurrentTooltip;
if (tooltip != null) {
tooltip.setVisible(false);
}
myCurrentTooltip = null;
myCurrentTooltipNode = null;
Disposer.dispose(myTipManager);
}