mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- Do not save torrent related info in class destruction, this is too dangerous
This commit is contained in:
parent
8404eec301
commit
fd2ee35e92
2 changed files with 12 additions and 12 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue