mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
[branchPopup]: memory leak - remove window listener on hide
This commit is contained in:
@@ -140,6 +140,11 @@ public class BranchActionGroupPopup extends FlatSpeedSearchPopup {
|
||||
processOnSizeChanged();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void componentHidden(ComponentEvent e) {
|
||||
popupWindow.removeComponentListener(this);
|
||||
}
|
||||
});
|
||||
if (dimensionKey != null) {
|
||||
addPopupListener(new JBPopupAdapter() {
|
||||
|
||||
Reference in New Issue
Block a user