mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Delete qApp on exit
This commit is contained in:
@@ -358,10 +358,7 @@ int main(int argc, char *argv[]){
|
|||||||
delete loader;
|
delete loader;
|
||||||
#endif
|
#endif
|
||||||
qDebug("Deleting app...");
|
qDebug("Deleting app...");
|
||||||
#ifndef Q_WS_WIN
|
|
||||||
// XXX: Why does it crash on Windows!?
|
|
||||||
delete app;
|
delete app;
|
||||||
#endif
|
|
||||||
qDebug("App was deleted! All good.");
|
qDebug("App was deleted! All good.");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user