mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 14:57:52 +00:00
Delete qApp on exit
This commit is contained in:
parent
715fe46f45
commit
65b8d0c24d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user