v0.6.1a: fixed rare crashes with window hiding
This commit is contained in:
@@ -140,7 +140,9 @@ public class Window extends Group implements Signal.Listener<Key> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void hide() {
|
public void hide() {
|
||||||
parent.erase( this );
|
if (parent != null) {
|
||||||
|
parent.erase(this);
|
||||||
|
}
|
||||||
destroy();
|
destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user