v1.4.1: fixed tooltips persisting when buttons are destroyed

This commit is contained in:
Evan Debenham
2022-10-08 17:38:27 -04:00
committed by Evan Debenham
parent 6426649cba
commit 3da164e57c

View File

@@ -208,6 +208,7 @@ public class Button extends Component {
public synchronized void destroy () {
super.destroy();
KeyEvent.removeKeyListener( keyListener );
killTooltip();
}
}