Merge pull request #788 from eightyeight/return-status-code

Allow return status to be specified using quitWithStatus
This commit is contained in:
Daniel Buckmaster 2014-10-24 00:31:05 +11:00
commit 2f416290ab
13 changed files with 52 additions and 18 deletions

View file

@ -450,7 +450,7 @@ static bool _dispatch(HWND hWnd,UINT message,WPARAM wParam,WPARAM lParam)
// Quit indicates that we're not going to receive anymore Win32 messages.
// Therefore, it's appropriate to flag our event loop for exit as well,
// since we won't be getting any more messages.
Process::requestShutdown();
Process::requestShutdown((S32)wParam);
break;
}