summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2019-02-17 18:38:51 +0500
committerElzorFox <elzorfox@ya.ru>2019-02-17 18:38:51 +0500
commit7d75ffb5f4305150b89485c171ee738358516849 (patch)
tree59ece2a39c7e721e71885f8596ebde06e87e10dd /protocols/VKontakte/src/vk_proto.cpp
parent2848cd0222441a3347da4992597d1dae0801693c (diff)
VKontakte:
crutch for unfreeze threads if connection freeze version bump
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index b4ed130c73..15cd3d4451 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -42,6 +42,8 @@ CVkProto::CVkProto(const char *szModuleName, const wchar_t *pwszUserName) :
m_bNeedSendOnline(false),
m_vkOptions(this)
{
+ m_tWorkThreadTimer = m_tPoolThreadTimer = time(0);
+
InitQueue();
CreateProtoService(PS_CREATEACCMGRUI, &CVkProto::SvcCreateAccMgrUI);