diff options
author | George Hazan <ghazan@miranda.im> | 2020-01-13 15:20:15 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-01-13 15:20:15 +0300 |
commit | 21f52dbfa251d171b4cc9dc315e8736da2e2be08 (patch) | |
tree | 8977d615b840f2d3e7f674409c4f416905c86434 /protocols | |
parent | 1e2176029a94fd8c8e404e4d6b969abef08be40f (diff) |
fixes #2183 (ICQ-WIM: wrong OnLoggedOut() call location)
Diffstat (limited to 'protocols')
-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); |