v0.6.1a: fixed rare crashes with window hiding

This commit is contained in:
Evan Debenham 2017-08-16 22:31:58 -04:00
parent 03405857a0
commit d4849e4888

View File

@ -140,7 +140,9 @@ public class Window extends Group implements Signal.Listener<Key> {
}
public void hide() {
parent.erase( this );
if (parent != null) {
parent.erase(this);
}
destroy();
}