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:
parent
644fea69a1
commit
5d1d26b285
@ -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;
|
||||
|
@ -118,7 +118,6 @@ PropertiesWidget::PropertiesWidget(QWidget *parent, GUI* main_window, TransferLi
|
||||
}
|
||||
|
||||
PropertiesWidget::~PropertiesWidget() {
|
||||
saveSettings();
|
||||
delete refreshTimer;
|
||||
delete trackerList;
|
||||
delete peersList;
|
||||
|
Loading…
Reference in New Issue
Block a user