Commit 4648e364 authored by jan.koester's avatar jan.koester
Browse files

test

parent a094c7a2
Loading
Loading
Loading
Loading
+1 −1
Changes for src/event/iocp.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ namespace netplus {
		}

		void AddToClientList(client* pClientContext) {
			std::lock<std::mutex>(g_ClientContextMutex, pClientContext->cltmtx);
			std::scoped_lock(g_ClientContextMutex, pClientContext->cltmtx);
			std::unique_lock <std::mutex> lock(g_ClientContextMutex);
			std::unique_lock <std::mutex> clock(pClientContext->cltmtx);