Tagged rc9 release

This commit is contained in:
Christophe Dumez 2007-11-24 12:11:12 +00:00
parent 0d90ad8f7c
commit 31679f0d6d

View file

@ -72,6 +72,15 @@ bittorrent::bittorrent() : timerScan(0), DHTEnabled(false), preAllocateAll(false
// Main destructor // Main destructor
bittorrent::~bittorrent() { bittorrent::~bittorrent() {
// Set Session settings
session_settings ss;
ss.tracker_receive_timeout = 1;
ss.stop_tracker_timeout = 1;
ss.tracker_completion_timeout = 1;
ss.piece_timeout = 1;
ss.peer_timeout = 1;
ss.urlseed_timeout = 1;
s->set_settings(ss);
// Disable directory scanning // Disable directory scanning
disableDirectoryScanning(); disableDirectoryScanning();
// Delete our objects // Delete our objects
@ -81,7 +90,9 @@ bittorrent::~bittorrent() {
delete ETARefresher; delete ETARefresher;
delete downloader; delete downloader;
// Delete BT session // Delete BT session
qDebug("Deleting session");
delete s; delete s;
qDebug("Session deleted");
} }
void bittorrent::preAllocateAllFiles(bool b) { void bittorrent::preAllocateAllFiles(bool b) {