summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_queue.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2019-01-03 13:38:56 +0500
committerElzorFox <elzorfox@ya.ru>2019-01-03 13:38:56 +0500
commitc24d2279cf53d917b44d4a5ba4fe9112f394d8a9 (patch)
tree4700f4c8c151da4a7ca219f0a770375256f18744 /protocols/VKontakte/src/vk_queue.cpp
parent6e2232c39df713136602183d2b42889aea7024b8 (diff)
VKontakte:
fix #1712 (hang at exit) copyrightes update version bump
Diffstat (limited to 'protocols/VKontakte/src/vk_queue.cpp')
-rw-r--r--protocols/VKontakte/src/vk_queue.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_queue.cpp b/protocols/VKontakte/src/vk_queue.cpp
index d89502e67d..f0c0bce359 100644
--- a/protocols/VKontakte/src/vk_queue.cpp
+++ b/protocols/VKontakte/src/vk_queue.cpp
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2013-18 Miranda NG team (https://miranda-ng.org)
+Copyright (c) 2013-19 Miranda NG team (https://miranda-ng.org)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -54,6 +54,9 @@ void CVkProto::ExecuteRequest(AsyncHttpRequest *pReq)
pReq->nlc = m_hAPIConnection;
}
+ if (m_bTerminated)
+ break;
+
debugLogA("CVkProto::ExecuteRequest \n====\n%s\n====\n", pReq->szUrl);
NETLIBHTTPREQUEST *reply = Netlib_HttpTransaction(m_hNetlibUser, pReq);
if (reply != nullptr) {