The app_server now also quits fast in case there are no apps to quit... :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13432 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -553,6 +553,10 @@ AppServer::DispatchMessage(int32 code, BPrivate::PortLink &msg)
|
|||||||
// wait for the kMsgShutdownServer message.
|
// wait for the kMsgShutdownServer message.
|
||||||
// If an application does not quit as asked, the picasso thread
|
// If an application does not quit as asked, the picasso thread
|
||||||
// will send us this message in 2-3 seconds.
|
// will send us this message in 2-3 seconds.
|
||||||
|
|
||||||
|
// if there are no apps to quit, shutdown directly
|
||||||
|
if (fShutdownCount == 0)
|
||||||
|
PostMessage(kMsgShutdownServer);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case kMsgShutdownServer:
|
case kMsgShutdownServer:
|
||||||
|
|||||||
Reference in New Issue
Block a user