mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
- Save session data and fast resume data sooner on exit (in case)
This commit is contained in:
@@ -83,9 +83,10 @@ bittorrent::bittorrent() : DHTEnabled(false), preAllocateAll(false), addInPause(
|
||||
bittorrent::~bittorrent() {
|
||||
qDebug("BTSession deletion");
|
||||
// Do some BT related saving
|
||||
saveDHTEntry();
|
||||
// XXX: Done in GUI now (earlier = safer)
|
||||
/*saveDHTEntry();
|
||||
saveSessionState();
|
||||
saveFastResumeData();
|
||||
saveFastResumeData();*/
|
||||
// Set Session settings
|
||||
session_settings ss;
|
||||
ss.tracker_receive_timeout = 1;
|
||||
|
||||
Reference in New Issue
Block a user