2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 07:25:46 +00:00

fixed some warnings, added debug logs before thread wait calls

This commit is contained in:
John Preston
2016-03-01 05:36:23 +03:00
parent 616354b8e9
commit 32322c4450
9 changed files with 43 additions and 39 deletions

View File

@@ -117,6 +117,7 @@ void TaskQueue::stop() {
if (_thread) {
_thread->requestInterruption();
_thread->quit();
DEBUG_LOG(("Waiting for taskThread to finish"));
_thread->wait();
delete _worker;
delete _thread;