diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-10 18:57:01 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-10 18:57:01 +0000 |
commit | 0ad9fe63585e924f1e840a121b477035b6e844e4 (patch) | |
tree | a19f6efb9131077970351b64dfbc96d8e08a7afe /protocols/SkypeWeb/src/request_queue.cpp | |
parent | d7973b17de4eba3419a084920909c65b123c0d03 (diff) |
SkypeWeb:
- fixed login
- some code for chats
git-svn-id: http://svn.miranda-ng.org/main/trunk@12753 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/request_queue.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/request_queue.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/request_queue.cpp b/protocols/SkypeWeb/src/request_queue.cpp index ac10e9c9c7..2a7e384a8f 100644 --- a/protocols/SkypeWeb/src/request_queue.cpp +++ b/protocols/SkypeWeb/src/request_queue.cpp @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. RequestQueue::RequestQueue(HANDLE hConnection) :
hConnection(hConnection), requests(1)
{
- isTerminated = false;
+ isTerminated = true;
hRequestQueueThread = NULL;
hRequestQueueEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
}
@@ -36,6 +36,7 @@ void RequestQueue::Start() if (!isTerminated)
return;
+ isTerminated = false;
if (hRequestQueueThread == NULL)
hRequestQueueThread = mir_forkthread((pThreadFunc)&RequestQueue::WorkerThread, this);
}
|