diff options
author | George Hazan <ghazan@miranda.im> | 2021-01-04 20:37:08 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-01-04 20:37:08 +0300 |
commit | 8adfc2b2b5fa4aaab9fee1e8b5a38ad44da94306 (patch) | |
tree | 752330ef3723db75af3fd35dfba8963a012a6c78 /protocols/SkypeWeb/src | |
parent | 7ac843bf6b7ea419e4a0fcb7a36f0b5377383c44 (diff) |
Steam: fix for adding users via auth requests
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r-- | protocols/SkypeWeb/src/request_queue.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/request_queue.cpp b/protocols/SkypeWeb/src/request_queue.cpp index aa5812aa0b..89b36b6a74 100644 --- a/protocols/SkypeWeb/src/request_queue.cpp +++ b/protocols/SkypeWeb/src/request_queue.cpp @@ -48,7 +48,7 @@ void CSkypeProto::StartQueue() m_isTerminated = false;
if (m_hRequestQueueThread == nullptr)
- m_hRequestQueueThread = ForkThreadEx(&CSkypeProto::WorkerThread, 0, 0);
+ ForkThread(&CSkypeProto::WorkerThread);
}
void CSkypeProto::StopQueue()
@@ -143,6 +143,8 @@ void CSkypeProto::Execute(AsyncHttpRequest *item) void CSkypeProto::WorkerThread(void*)
{
+ m_hRequestQueueThread = GetCurrentThread();
+
while (true) {
m_hRequestQueueEvent.Wait();
if (m_isTerminated)
|