diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-03 21:57:47 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-03 21:57:47 +0000 |
commit | 2b82b6fe83df09a31a60288871227b3ea97d39a5 (patch) | |
tree | 5cc35c182e7e5be1db2007e4886fa10d19075a21 /protocols/SkypeWeb/src/request_queue.cpp | |
parent | 035b5186bba8c0cab7d349f849c5c1db7cad7e39 (diff) |
SkypeWeb: cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@12597 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/request_queue.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/request_queue.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/request_queue.cpp b/protocols/SkypeWeb/src/request_queue.cpp index 6448186614..396bc9d62b 100644 --- a/protocols/SkypeWeb/src/request_queue.cpp +++ b/protocols/SkypeWeb/src/request_queue.cpp @@ -20,9 +20,7 @@ void RequestQueue::Start() isTerminated = false;
if (hRequestQueueThread == NULL)
- {
hRequestQueueThread = mir_forkthread((pThreadFunc)&RequestQueue::WorkerThread, this);
- }
}
void RequestQueue::Stop()
@@ -52,9 +50,7 @@ void RequestQueue::Execute(RequestQueueItem *item) {
NETLIBHTTPREQUEST *response = item->request->Send(hConnection);
if (item->responseCallback != NULL)
- {
item->responseCallback(response, item->arg);
- }
CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)response);
requests.remove(item);
delete item;
|