mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Kill hang processes in case of app quitting.
This commit is contained in:
@@ -550,6 +550,12 @@ void Manager::Private::checkFocusState() {
|
||||
}
|
||||
|
||||
Manager::Private::~Private() {
|
||||
if (_waitingDnd) {
|
||||
_dnd.kill();
|
||||
}
|
||||
if (_waitingFocus) {
|
||||
_focus.kill();
|
||||
}
|
||||
if (_clearingThread.joinable()) {
|
||||
putClearTask(ClearFinish());
|
||||
_clearingThread.join();
|
||||
|
||||
Reference in New Issue
Block a user