thiago added a comment.
More information on this Windows behaviour: - https://blogs.msdn.microsoft.com/oldnewthing/20070503-00/?p=27003 - https://blogs.msdn.microsoft.com/oldnewthing/20070502-00/?p=27023/#2375204 There doesn't seem to be a way of doing some clean up before the threads are forcibly killed. Maybe if I abuse qtmain(). BRANCH master REVISION DETAIL https://phabricator.kde.org/D2545 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: kfunk, vonreth, dfaure Cc: thiago, albertvaka, mutlaqja, arrowdodger, #frameworks