diff options
author | est31 <MTest31@outlook.com> | 2015-09-27 00:18:05 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-09-27 00:27:36 +0200 |
commit | e7282816fffc433861e7e83b0bf1de701d3ea2d1 (patch) | |
tree | dee6fe705a7832aa6a41c41314dd8035a34c8fa1 /src/guiChatConsole.cpp | |
parent | 4338f100f84100f5779d4e12fe23d359f94ef718 (diff) | |
download | minetest-e7282816fffc433861e7e83b0bf1de701d3ea2d1.tar.gz minetest-e7282816fffc433861e7e83b0bf1de701d3ea2d1.tar.bz2 minetest-e7282816fffc433861e7e83b0bf1de701d3ea2d1.zip |
Abort at uncatched exceptions
Change a remaining assert(0) call to FATAL_ERROR(msg).
There was a regression since commit
ced6d20295a8263757d57c02a07ffcb66688a163 "For usages of assert() that are meant to persist in Release builds (when NDEBUG is defined), replace those usages with persistent alternatives"
where when an "uncatched" exception is thrown inside a "side thread",
the program doesn't abort anymore.
This led to the problem @netinetwalker experienced where the emergethread
got an unhandled exception for loading a mapblock while redis was loading,
(see #3196) and then jmped outside its loop to work down its queue.
This resulted in the server not doing any emerges anymore.
Diffstat (limited to 'src/guiChatConsole.cpp')
0 files changed, 0 insertions, 0 deletions