summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2018-12-31 15:07:02 +0500
committerElzorFox <elzorfox@ya.ru>2018-12-31 15:07:02 +0500
commit7846d1b5524ad17e9e8562ee6cf2f893b985089f (patch)
tree8af0be8c8b8d3f0823253466425803bc1d453483 /protocols/VKontakte/src/vk_proto.h
parent8b58336ffa5a55ac8576548ebb3e4c1f68d9977c (diff)
VKontakte: fix socket leak
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index e77bea8472..88c2d6f408 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -366,6 +366,8 @@ private:
bool ApplyCaptcha(AsyncHttpRequest *pReq, const JSONNode&);
void ConnectionFailed(int iReason);
void OnLoggedIn();
+ void ClosePollingConnection();
+ void CloseAPIConnection();
void OnLoggedOut();
void ShutdownSession();
void SetAvatarUrl(MCONTACT hContact, CMStringW &wszUrl);