From eba8d089881ba440d2067cb441539517e577d37b Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Fri, 1 Apr 2016 19:30:30 +0000 Subject: 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 --- protocols/VKontakte/src/vk_thread.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'protocols/VKontakte/src/vk_thread.cpp') 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); -- cgit v1.2.3