summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_queue.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2016-08-05 08:37:43 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2016-08-05 08:37:43 +0000
commit5f310e19fd9b3ab199682fda1e4874e1fc2cc158 (patch)
treeebe58be6e4c3035a8a6b9452be1694fa672dd36b /protocols/VKontakte/src/vk_queue.cpp
parente5868034a9b3cefc7b3d785e97b40b5382108fc8 (diff)
VKontakte:
fix(???) ‘validation required’ error add support vk-groups contacts fix (???) rare error with WorkerThread on connection lost version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@17159 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, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_queue.cpp b/protocols/VKontakte/src/vk_queue.cpp
index fed6cd6ab4..57f71ceeb7 100644
--- a/protocols/VKontakte/src/vk_queue.cpp
+++ b/protocols/VKontakte/src/vk_queue.cpp
@@ -172,14 +172,14 @@ void CVkProto::WorkerThread(void*)
}
}
+ m_hWorkerThread = 0;
if (m_hAPIConnection) {
debugLogA("CVkProto::WorkerThread: Netlib_CloseHandle(m_hAPIConnection) beg");
Netlib_CloseHandle(m_hAPIConnection);
debugLogA("CVkProto::WorkerThread: Netlib_CloseHandle(m_hAPIConnection) end");
+ m_hAPIConnection = NULL;
}
- m_hAPIConnection = NULL;
- m_hWorkerThread = 0;
debugLogA("CVkProto::WorkerThread: leaving m_bTerminated = %d", m_bTerminated ? 1 : 0);
}