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() {
|
public void syncDispose() {
|
||||||
invokeAWT(new Runnable() {
|
invokeAWT(new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
dispose();
|
if (isDisplayable())
|
||||||
|
dispose();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue