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:
parent
a953ff4dfc
commit
18cfd89a86
2 changed files with 10 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue