summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_threads.cpp
diff options
context:
space:
mode:
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);