Commit fdacfcc4 authored by jan.koester's avatar jan.koester
Browse files

test

parent 24bf3b76
Loading
Loading
Loading
Loading
+3
Changes for src/event/iocp.cpp: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -89,7 +89,10 @@ namespace netplus {
		}

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

			g_ClientContext.push_back(pClientContext);
		}