From 18cfd89a86af550b3c4663def77a5fac46e895ae Mon Sep 17 00:00:00 2001 From: kwolekr Date: Mon, 10 Aug 2015 01:38:09 -0400 Subject: Display Lua memory usage at the time of Out-of-Memory error Also misc. minor cleanups --- src/script/cpp_api/s_async.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script/cpp_api') diff --git a/src/script/cpp_api/s_async.cpp b/src/script/cpp_api/s_async.cpp index 0e2a006ca..c00b22f98 100644 --- a/src/script/cpp_api/s_async.cpp +++ b/src/script/cpp_api/s_async.cpp @@ -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(); } -- cgit v1.2.3