summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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