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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user