Skip to content

Commit 59a57a9

Browse files
committed
Use classic close() handle when macOS 10.13 workaround is on
1 parent 0c325b4 commit 59a57a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/Base.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ public boolean handleQuit() {
971971
// Save out the current prefs state
972972
PreferencesData.save();
973973

974-
if (!OSUtils.isMacOS()) {
974+
if (!OSUtils.isMacOS() || System.getProperty("apple.laf.useScreenMenuBar") == "false") {
975975
// If this was fired from the menu or an AppleEvent (the Finder),
976976
// then Mac OS X will send the terminate signal itself.
977977
System.exit(0);

0 commit comments

Comments
 (0)