diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-11-29 15:33:06 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-11-29 15:33:06 +0000 |
commit | 47ef7460d44bd169ada52ae8b1a2c7fa6f27d0d4 (patch) | |
tree | b0a44385d3cd73b4627bafd4deb5f473c990b8d9 /protocols/VKontakte/src/vk_thread.cpp | |
parent | fe076d92eca402b27979bacf4062563e759e7279 (diff) |
VKontakte:
fix(?) 5 sec freeze on Miranda shutdown
git-svn-id: http://svn.miranda-ng.org/main/trunk@11152 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 159b703365..78843d5ea5 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -895,7 +895,7 @@ int CVkProto::PollServer() break;
debugLogA("CVkProto::PollServer is dead");
m_pollingConn = NULL;
- if (iPollConnRetry){
+ if (iPollConnRetry && !m_bTerminated){
iPollConnRetry--;
debugLogA("CVkProto::PollServer restarting %d", MAX_RETRIES - iPollConnRetry);
Sleep(1000);
|