mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 18:40:29 +00:00
Fix: OpenTTD can fail to exit on an error due to mutex locks in threads. (#11398)
This commit is contained in:
parent
7b376493a2
commit
062c19830b
@ -121,7 +121,7 @@ void UserErrorI(const std::string &str)
|
||||
EM_ASM(if (window["openttd_abort"]) openttd_abort());
|
||||
#endif
|
||||
|
||||
exit(1);
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user