mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Display Lua memory usage at the time of Out-of-Memory error
Also misc. minor cleanups
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user