Mac OS X: Handle frame == null case
This commit is contained in:
parent
e5486ff2df
commit
f3221396ed
|
@ -98,9 +98,11 @@ final class MacOSXDisplay implements DisplayImplementation {
|
|||
public void destroyWindow() {
|
||||
if (MacOSXFrame.getDevice().getFullScreenWindow() != null)
|
||||
MacOSXFrame.getDevice().setFullScreenWindow(null);
|
||||
if (frame != null) {
|
||||
setView(null);
|
||||
frame.syncDispose();
|
||||
frame = null;
|
||||
}
|
||||
hideUI(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue