Skip to content

Commit

Permalink
Fixes bug that prevents NetBeans from quitting on macOS if the user p…
Browse files Browse the repository at this point in the history
…reviously canceled a quit
  • Loading branch information
emilianbold committed Feb 7, 2018
1 parent ff7b9eb commit caac13f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,7 @@ public void handlePreferences(AppEvent.PreferencesEvent e) {
@Override
public void handleQuitRequestWith(AppEvent.QuitEvent e, QuitResponse response) {
handleQuit();
//need to do this otherwise the user will never be able to quit again
response.cancelQuit();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,7 @@ public void handlePreferences(PreferencesEvent e) {
@Override
public void handleQuitRequestWith(QuitEvent e, QuitResponse response) {
handleQuit();
//need to do this otherwise the user will never be able to quit again
response.cancelQuit();
}
}

0 comments on commit caac13f

Please sign in to comment.