mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
reset FocusWatcher.myTopComponent to null
The field is set in install() and should probably be reset symmetrically in deinstall(), otherwise it may hold UI objects.
This commit is contained in:
@@ -89,6 +89,7 @@ public class FocusWatcher implements ContainerListener,FocusListener{
|
||||
if(getFocusedComponent() ==component){
|
||||
setFocusedComponentImpl(null, cause);
|
||||
}
|
||||
myTopComponent = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user