mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Source/NSApplication (terminate:): send close method to all windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12557 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6238482705
commit
f81e8e1bc2
1 changed files with 3 additions and 0 deletions
|
@ -2218,7 +2218,10 @@ delegate.
|
|||
|
||||
[nc postNotificationName: NSApplicationWillTerminateNotification
|
||||
object: self];
|
||||
|
||||
_app_is_running = NO;
|
||||
|
||||
[[self windows] makeObjectsPerformSelector: @selector(close)];
|
||||
|
||||
// Store our user information
|
||||
[[NSUserDefaults standardUserDefaults] synchronize];
|
||||
|
|
Loading…
Reference in a new issue