mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Don't cope with quit here ... do it in back end
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22271 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
17a02dbff8
commit
38ffc5527f
1 changed files with 0 additions and 19 deletions
|
@ -161,25 +161,6 @@ static const NSMapTableValueCallBacks WatcherMapValueCallBacks =
|
|||
{
|
||||
while (PeekMessage(&msg, 0, 0, 0, PM_REMOVE))
|
||||
{
|
||||
if (msg.message == WM_QUIT)
|
||||
{
|
||||
Class c = NSClassFromString(@"NSApplication");
|
||||
|
||||
if (c == 0)
|
||||
{
|
||||
[NSException raise: NSGenericException
|
||||
format: @"Received WM_QUIT"];
|
||||
}
|
||||
else
|
||||
{
|
||||
SEL s = NSSelectorFromString(@"sharedApplication");
|
||||
id o = [c performSelector: s];
|
||||
|
||||
s = NSSelectorFromString(@"terminate:");
|
||||
[o performSelector: s withObject: nil];
|
||||
}
|
||||
}
|
||||
|
||||
if (num_winMsgs > 0)
|
||||
{
|
||||
HANDLE handle;
|
||||
|
|
Loading…
Reference in a new issue