diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-11 12:19:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-11 12:19:00 +0300 |
commit | 79b5149e872319dcf0f2b6d5c4da5ece3ddc7993 (patch) | |
tree | f8733f7a1b1a918ca706bdad9ea696647dc7ed25 /protocols/ICQ-WIM/src/server.cpp | |
parent | 0d6b9512088d959126c965d82403623196a8ff85 (diff) |
fixes #1892 (ICQ: still online even if network adapter is disabled)
Diffstat (limited to 'protocols/ICQ-WIM/src/server.cpp')
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index 21f0b57ddb..217760f12c 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -516,6 +516,9 @@ void CIcqProto::ShutdownSession() debugLogA("CIcqProto::ShutdownSession"); // shutdown all resources + while (!IsQueueEmpty()) + Sleep(50); + if (m_hWorkerThread) SetEvent(m_evRequestsQueue); |