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:
Richard Frith-Macdonald 2006-01-09 08:09:29 +00:00
parent 17a02dbff8
commit 38ffc5527f

View file

@ -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;