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:
parent
a2b5dddb83
commit
00602f58a0
@ -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
|
||||||
|
Reference in New Issue
Block a user