summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2017-04-02 00:11:41 +0500
committerElzorFox <elzorfox@ya.ru>2017-04-02 00:11:41 +0500
commita8007991b6f8f5381dd290b44fdcf346f68f48b3 (patch)
treeafa9de4cb46c10a972df04b97d34345e2e5ddd53 /protocols/VKontakte/src/vk_proto.cpp
parent177bd7053cb265b1634e1a1a2a635ca4a8b72395 (diff)
VKontakte:
fix treads handle leaks fix multiply loading history on quick online-offline-online
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index 45b68efee4..f7438c450f 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -76,6 +76,7 @@ CVkProto::CVkProto(const char *szModuleName, const wchar_t *pwszUserName) :
db_set_b(NULL, "ListeningTo", szListeningTo, m_vkOptions.iMusicSendMetod == 0 ? 0 : 1);
delSetting("InviteGroupIds");
+ db_set_resident(m_szModuleName, "ActiveHistoryTask");
// Set all contacts offline -- in case we crashed
SetAllContactStatuses(ID_STATUS_OFFLINE);