diff options
Diffstat (limited to 'protocols/ICQ-WIM/src')
-rw-r--r-- | protocols/ICQ-WIM/src/http.cpp | 2 | ||||
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/http.cpp b/protocols/ICQ-WIM/src/http.cpp index bfa22866b3..4826a411c6 100644 --- a/protocols/ICQ-WIM/src/http.cpp +++ b/protocols/ICQ-WIM/src/http.cpp @@ -75,8 +75,6 @@ void __cdecl CIcqProto::ServerThread(void*) } } - OnLoggedOut(); - m_hWorkerThread = nullptr; for (auto &it : m_ConnPool) { if (it.s) diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index b3bbcc460c..4bf8ab7385 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -538,6 +538,8 @@ void CIcqProto::ShutdownSession() if (m_hWorkerThread) SetEvent(m_evRequestsQueue); + OnLoggedOut(); + for (auto &it : m_ConnPool) { if (it.s) { Netlib_Shutdown(it.s); |