Allow return status to be specified using quitWithStatus.

This commit is contained in:
Daniel Buckmaster 2014-09-21 18:27:31 +10:00
parent d08e594316
commit 9f47032522
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;
}