Back out Task Dialog and TerminateProcess patches for 2.0.8.
These can return to revision control once we ship. --HG-- extra : histedit_source : a1e341365f4443905266d727b2005654ef1dcb8a%2Ca77cd7cf6988f57299c7e4e4b2f95afbc6ba6c5e
This commit is contained in:
parent
85e9f16b44
commit
df5f306a61
3 changed files with 4 additions and 280 deletions
|
@ -123,11 +123,7 @@ static void SDL_GenerateAssertionReport(void)
|
|||
static SDL_NORETURN void SDL_ExitProcess(int exitcode)
|
||||
{
|
||||
#ifdef __WIN32__
|
||||
/* "if you do not know the state of all threads in your process, it is
|
||||
better to call TerminateProcess than ExitProcess"
|
||||
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682658(v=vs.85).aspx */
|
||||
TerminateProcess(GetCurrentProcess(), exitcode);
|
||||
|
||||
ExitProcess(exitcode);
|
||||
#elif defined(__EMSCRIPTEN__)
|
||||
emscripten_cancel_main_loop(); /* this should "kill" the app. */
|
||||
emscripten_force_exit(exitcode); /* this should "kill" the app. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue