summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraProto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-01 19:26:23 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-01 19:26:23 +0000
commitc78567f150e79befc0ccf85b555802e58696ac30 (patch)
treee57fe72839e600b2cef907d694dd916aa3d29e7b /protocols/MRA/src/MraProto.cpp
parentc97a1472f85733e0cf4f3423af6647ff2fa00520 (diff)
- no need to wait for a thread inside OnPreShutdown;
- less crazy popup generation code git-svn-id: http://svn.miranda-ng.org/main/trunk@7024 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraProto.cpp')
-rw-r--r--protocols/MRA/src/MraProto.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp
index 753ba4a466..79349466bf 100644
--- a/protocols/MRA/src/MraProto.cpp
+++ b/protocols/MRA/src/MraProto.cpp
@@ -124,14 +124,6 @@ int CMraProto::OnPreShutdown(WPARAM, LPARAM)
{
SetStatus(ID_STATUS_OFFLINE);
MraAvatarsQueueDestroy(hAvatarsQueueHandle); hAvatarsQueueHandle = NULL;
-
- if (m_hThreadWorker) {
- if (IsThreadAlive(m_hThreadWorker))
- WaitForSingleObjectEx(m_hThreadWorker, (WAIT_FOR_THREAD_TIMEOUT*1000), FALSE);
- CloseHandle(m_hThreadWorker);
- m_hThreadWorker = NULL;
- }
-
return 0;
}