summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_threads.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-01-29 20:15:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-01-29 20:15:01 +0000
commit43eecbf2a0d8dc84dc6f41cb2ef5e1609418a35a (patch)
treed76ccadccec7b21a43da8600b177b565b7f1030c /protocols/MSN/src/msn_threads.cpp
parent82b32bb1d683867729cd4fb259d9d1edc3b0039e (diff)
MSN HTTP avatars, part III, final
fixes #204 git-svn-id: http://svn.miranda-ng.org/main/trunk@3345 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_threads.cpp')
-rw-r--r--protocols/MSN/src/msn_threads.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/protocols/MSN/src/msn_threads.cpp b/protocols/MSN/src/msn_threads.cpp
index ca625b4fa1..25f9a9a765 100644
--- a/protocols/MSN/src/msn_threads.cpp
+++ b/protocols/MSN/src/msn_threads.cpp
@@ -339,36 +339,6 @@ void CMsnProto::MSN_CloseConnections(void)
CallService(MS_NETLIB_SHUTDOWN, (WPARAM)hHttpsConnection, 0);
}
-void CMsnProto::MSN_CloseThreads(void)
-{
- for (unsigned j=6; --j;)
- {
- EnterCriticalSection(&sttLock);
-
- bool opcon = false;
- for (int i=0; i < sttThreads.getCount(); i++)
- opcon |= (sttThreads[i].s != NULL);
-
- LeaveCriticalSection(&sttLock);
-
- if (!opcon) break;
-
- Sleep(250);
- }
-
- EnterCriticalSection(&sttLock);
-
- for (int i=0; i < sttThreads.getCount(); i++)
- {
- ThreadData* T = &sttThreads[i];
-
- if (T->s != NULL)
- CallService(MS_NETLIB_SHUTDOWN, (WPARAM)T->s, 0);
- }
-
- LeaveCriticalSection(&sttLock);
-}
-
void CMsnProto::Threads_Uninit(void)
{
EnterCriticalSection(&sttLock);