Don't use quick_exit with emscripten

This is a temporary fix, that line of code needs to be given some consideration. Maybe a Platform:: function?
This commit is contained in:
Tamás Bálint Misius
2024-01-14 21:52:07 +01:00
parent a2b5dddb83
commit 00602f58a0

View File

@@ -155,7 +155,7 @@ static void BlueScreen(String detailMessage, std::optional<std::vector<String>>
} }
// Don't use Platform::Exit, we're practically zombies at this point anyway. // Don't use Platform::Exit, we're practically zombies at this point anyway.
#if defined(__MINGW32__) || defined(__APPLE__) #if defined(__MINGW32__) || defined(__APPLE__) || defined(__EMSCRIPTEN__)
// Come on... // Come on...
exit(-1); exit(-1);
#else #else