GracefullyShutdown: Add "subsystem x/y shutting down" message

Remove old "X shutting down", "X shut down" messages, they were bad and
confusing
This commit is contained in:
Lion Kortlepel
2021-09-09 11:58:58 +03:00
committed by Lion
parent d43ee4b7b6
commit b055fd8bda
6 changed files with 14 additions and 14 deletions
-2
View File
@@ -23,10 +23,8 @@ TLuaEngine::TLuaEngine(TServer& Server, TNetwork& Network)
FolderList(Path, false);
mPath = Path;
Application::RegisterShutdownHandler([&] {if (mThread.joinable()) {
debug("shutting down LuaEngine");
mShutdown = true;
mThread.join();
debug("shut down LuaEngine");
} });
Start();
}