summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-03 15:27:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-03 15:27:10 +0000
commit2778d1e3c3d0f3a019bf5225d68c4d2a9951bdef (patch)
tree2c0ea91c3649c7aea90c2c74c6abb86875e37d9b /protocols
parenta057feb25b2347b219372619c9283ab2b0c0ca68 (diff)
fix for quitting Skype request queue
git-svn-id: http://svn.miranda-ng.org/main/trunk@13398 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/SkypeWeb/src/request_queue.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/request_queue.cpp b/protocols/SkypeWeb/src/request_queue.cpp
index bcf90f3753..8dd5a2f820 100644
--- a/protocols/SkypeWeb/src/request_queue.cpp
+++ b/protocols/SkypeWeb/src/request_queue.cpp
@@ -47,7 +47,7 @@ void RequestQueue::Stop()
return;
isTerminated = true;
- hRequestQueueThread = NULL;
+ SetEvent(hRequestQueueEvent);
}
void RequestQueue::Push(HttpRequest *request, HttpResponseCallback response, void *arg)
@@ -114,5 +114,6 @@ unsigned int RequestQueue::WorkerThread(void *arg)
}
}
+ queue->hRequestQueueThread = NULL;
return 0;
} \ No newline at end of file