Some general code cleanup

This commit is contained in:
WolverinDEV
2021-04-14 23:12:51 +02:00
parent 25b454ad0e
commit f41cfb8c30
46 changed files with 395 additions and 1106 deletions
+1 -1
View File
@@ -412,7 +412,7 @@ bool VirtualServerManager::deleteServer(shared_ptr<VirtualServer> server) {
}
}
{
threads::MutexLock locK(server->stateLock);
std::unique_lock state_lock{server->state_mutex};
server->state = ServerState::DELETING;
}