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

test

parent 408efd17
Loading
Loading
Loading
Loading
+6 −0
Changes for src/event/iocp.cpp: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -414,6 +414,12 @@ namespace netplus {
		}

		for (auto i = threadpool.begin(); i != threadpool.end(); ++i) {
			PostQueuedCompletionStatus(
				iocp,               // The global IOCP Handle
				0,                  // dwNumberOfBytesTransferred (0 for exit)
				0,                  // lpCompletionKey (0 is safe for exit signal)
				NULL                // lpOverlapped (NULL for exit signal)
			);
			i->join();
		}
	}