summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_queue.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-13 09:15:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-13 09:15:49 +0000
commitb245e6b6c7111c34302d73ccef60ebef8f248ce4 (patch)
tree1ac732c7290539d2f85efba6e904f0abb11a5fa0 /protocols/VKontakte/src/vk_queue.cpp
parent06976a2f446e21dd5189bdb253ec4f80602738f8 (diff)
- fixed multiple working thread creation;
- set contacts to offline upon disconnect git-svn-id: http://svn.miranda-ng.org/main/trunk@6479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_queue.cpp')
-rw-r--r--protocols/VKontakte/src/vk_queue.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_queue.cpp b/protocols/VKontakte/src/vk_queue.cpp
index 8ccb048df3..e1574141c4 100644
--- a/protocols/VKontakte/src/vk_queue.cpp
+++ b/protocols/VKontakte/src/vk_queue.cpp
@@ -87,6 +87,7 @@ bool CVkProto::PushAsyncHttpRequest(AsyncHttpRequest *pReq, int iTimeout)
void CVkProto::WorkerThread(void*)
{
+ debugLogA("CVkProto::WorkerThread: entering");
m_bTerminated = false;
m_szAccessToken = getStringA("AccessToken");
if (m_szAccessToken != NULL)
@@ -121,5 +122,6 @@ void CVkProto::WorkerThread(void*)
}
}
- OnLoggedOut();
+ m_hWorkerThread = 0;
+ debugLogA("CVkProto::WorkerThread: leaving");
}