v0.6.1a: fixed rare crashes with window hiding
This commit is contained in:
parent
03405857a0
commit
d4849e4888
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user