Back out Task Dialog and TerminateProcess patches for 2.0.8.

These can return to revision control once we ship.
This commit is contained in:
Ryan C. Gordon
2018-02-28 10:39:41 -05:00
parent 6a1cfccef8
commit 3537c3e7a9
3 changed files with 4 additions and 280 deletions

View File

@@ -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. */