7149085: [macosx] Quit with QuitStrategy CLOSE_ALL_WINDOWS does terminate application
Don't force the termination of the event loop in the Quit action handler Reviewed-by: art
This commit is contained in:
parent
f1484f0cd4
commit
b6cab6070f
@ -157,7 +157,10 @@ class _AppEventHandler {
|
||||
}
|
||||
});
|
||||
} finally {
|
||||
nativeReplyToAppShouldTerminate(true);
|
||||
// Either we've just called System.exit(), or the app will call
|
||||
// it when processing a WINDOW_CLOSING event. Either way, we reply
|
||||
// to Cocoa that we don't want to exit the event loop yet.
|
||||
nativeReplyToAppShouldTerminate(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user