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:
Anton Tarasov
2016-05-12 21:55:36 +03:00
parent b58243fb73
commit 2349cdbb3b
@@ -89,6 +89,7 @@ public class FocusWatcher implements ContainerListener,FocusListener{
if(getFocusedComponent() ==component){
setFocusedComponentImpl(null, cause);
}
myTopComponent = null;
}
@Override