1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Display Lua memory usage at the time of Out-of-Memory error

Also misc. minor cleanups
This commit is contained in:
kwolekr 2015-08-10 01:38:09 -04:00
parent a953ff4dfc
commit 18cfd89a86
2 changed files with 10 additions and 4 deletions

View file

@ -255,7 +255,7 @@ void* AsyncWorkerThread::Thread()
std::string script = getServer()->getBuiltinLuaPath() + DIR_DELIM + "init.lua";
if (!loadScript(script)) {
errorstream
<< "AsyncWorkderThread execution of async base environment failed!"
<< "AsyncWorkerThread execution of async base environment failed!"
<< std::endl;
abort();
}