fix more stuff

This commit is contained in:
Lion Kortlepel
2021-02-17 01:06:02 +01:00
committed by Anonymous275
parent d360403c56
commit aec6ad9c14
8 changed files with 22 additions and 17 deletions

View File

@@ -5,6 +5,7 @@ TPPSMonitor::TPPSMonitor(TServer& Server)
: mServer(Server) {
Application::SetPPS("-");
Application::RegisterShutdownHandler([&] { mShutdown = true; });
Start();
}
void TPPSMonitor::operator()() {
while (!mShutdown) {