- Do not save torrent related info in class destruction, this is too dangerous

This commit is contained in:
Christophe Dumez 2007-08-26 19:58:41 +00:00
parent 8404eec301
commit fd2ee35e92
2 changed files with 12 additions and 12 deletions

View file

@ -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();