mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add hint/toolwindow as a parent disposable to prevent leaks (IDEA-194670)
This commit is contained in:
+6
@@ -554,6 +554,12 @@ public class DocumentationComponent extends JPanel implements Disposable, DataPr
|
||||
}
|
||||
});
|
||||
|
||||
if (myHint != null) {
|
||||
Disposer.register(myHint, this);
|
||||
} else if (myManager.myToolWindow != null) {
|
||||
Disposer.register(myManager.myToolWindow.getContentManager(), this);
|
||||
}
|
||||
|
||||
registerActions();
|
||||
|
||||
updateControlState();
|
||||
|
||||
Reference in New Issue
Block a user