From 2778d1e3c3d0f3a019bf5225d68c4d2a9951bdef Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 3 May 2015 15:27:10 +0000 Subject: fix for quitting Skype request queue git-svn-id: http://svn.miranda-ng.org/main/trunk@13398 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/request_queue.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/SkypeWeb/src/request_queue.cpp') 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 -- cgit v1.2.3