Commit 44350b2b authored by jan.koester's avatar jan.koester
Browse files

test

parent 8a3df5ac
Loading
Loading
Loading
Loading
+3 −1
Changes for src/event/iocp.cpp: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -107,6 +107,7 @@ namespace netplus {

			auto it = std::find(g_ClientContext.begin(), g_ClientContext.end(), pClientContext);
			if (it != g_ClientContext.end()) {
				pClientContext->cltmtx.lock();
				g_ClientContext.erase(it);	
			}
		}
@@ -251,10 +252,11 @@ namespace netplus {
					continue;
				}

				try {
					std::unique_lock<std::mutex> cltLock(pClientContext->cltmtx);

				try {
					auto& curCon = pClientContext->CurCon;					
					
					switch (pClientContext->State) {
						case IO_WRITE_STATE: {