mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
- Do not save torrent related info in class destruction, this is too dangerous
This commit is contained in:
@@ -503,6 +503,9 @@ void GUI::closeEvent(QCloseEvent *e) {
|
||||
}
|
||||
// Save window size, columns size
|
||||
writeSettings();
|
||||
// Do some BT related saving
|
||||
BTSession->saveDHTEntry();
|
||||
BTSession->saveFastResumeAndRatioData();
|
||||
// Accept exit
|
||||
e->accept();
|
||||
qApp->exit();
|
||||
|
||||
Reference in New Issue
Block a user