mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 06:07:45 +00:00
Kill hang processes in case of app quitting.
This commit is contained in:
parent
d91b75b8f8
commit
f03935ad9a
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user