mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
Merge pull request #788 from eightyeight/return-status-code
Allow return status to be specified using quitWithStatus
This commit is contained in:
commit
2f416290ab
13 changed files with 52 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue