1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-09 06:17:58 +00:00

- Fixed possible crash on exit introduced by previous commit (tweaks to speed up exit)

This commit is contained in:
Christophe Dumez 2009-12-01 11:56:51 +00:00
parent 644fea69a1
commit 5d1d26b285
2 changed files with 3 additions and 1 deletions

View File

@ -199,6 +199,9 @@ GUI::~GUI() {
// Async deletion of Bittorrent session as early as possible
// in order to speed up exit
session_proxy sp = BTSession->asyncDeletion();
// Some saving
properties->saveSettings();
disconnect(tabs, SIGNAL(currentChanged(int)), this, SLOT(tab_changed(int)));
// Delete other GUI objects
delete status_bar;
delete transferList;

View File

@ -118,7 +118,6 @@ PropertiesWidget::PropertiesWidget(QWidget *parent, GUI* main_window, TransferLi
}
PropertiesWidget::~PropertiesWidget() {
saveSettings();
delete refreshTimer;
delete trackerList;
delete peersList;