diff options
Diffstat (limited to 'src/socketengine_iocp.cpp')
-rw-r--r-- | src/socketengine_iocp.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socketengine_iocp.cpp b/src/socketengine_iocp.cpp index 4eb9f83cd..eb881f280 100644 --- a/src/socketengine_iocp.cpp +++ b/src/socketengine_iocp.cpp @@ -37,7 +37,9 @@ IOCPEngine::IOCPEngine(InspIRCd * Instance) : SocketEngine(Instance) IOCPEngine::~IOCPEngine() { + /* Clean up winsock and close completion port */ CloseHandle(m_completionPort); + WSACleanup(); } bool IOCPEngine::AddFd(EventHandler* eh) |