mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-02-06 15:54:20 +01:00
Mac OS X: Don't dispose frame if already disposed
This commit is contained in:
parent
51febce1d3
commit
e5486ff2df
|
|
@ -173,7 +173,8 @@ final class MacOSXFrame extends Frame implements WindowListener, ComponentListen
|
|||
public void syncDispose() {
|
||||
invokeAWT(new Runnable() {
|
||||
public void run() {
|
||||
dispose();
|
||||
if (isDisplayable())
|
||||
dispose();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue