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:
Axel Dörfler 2005-07-05 01:02:32 +00:00
parent ae8de5211d
commit b1e04bcb5c

View File

@ -553,6 +553,10 @@ AppServer::DispatchMessage(int32 code, BPrivate::PortLink &msg)
// wait for the kMsgShutdownServer message.
// If an application does not quit as asked, the picasso thread
// will send us this message in 2-3 seconds.
// if there are no apps to quit, shutdown directly
if (fShutdownCount == 0)
PostMessage(kMsgShutdownServer);
break;
case kMsgShutdownServer: