diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-04-01 19:30:30 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-04-01 19:30:30 +0000 |
commit | eba8d089881ba440d2067cb441539517e577d37b (patch) | |
tree | 88e51ae8b583cf7b129995bae2872583099fc58c /protocols/VKontakte/src/vk_thread.cpp | |
parent | 532867c22a80206120cd461d673775fdaafbe4d9 (diff) |
VKontakte:
gzip support
support persistent connection to api.vk.com
(patch by MikalaiR)
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@16568 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 363761a888..5f454cf5a2 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -99,6 +99,9 @@ void CVkProto::OnLoggedOut() debugLogA("CVkProto::OnLoggedOut");
m_bOnline = false;
+ if (m_hAPIConnection)
+ Netlib_CloseHandle(m_hAPIConnection);
+
if (m_pollingConn)
CallService(MS_NETLIB_SHUTDOWN, (WPARAM)m_pollingConn);
|