* Unlink the tied file when a torrent is erased.

* Remove torrents that are already tied from the expanded paths.

* Move the loop counter to Control.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@618 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-01-09 18:54:57 +00:00
parent f32c15878a
commit 310589c4bf
8 changed files with 49 additions and 24 deletions
+1 -3
View File
@@ -74,8 +74,6 @@
#include "command_scheduler.h"
#include "command_scheduler_item.h"
uint32_t countTicks = 0;
void do_panic(int signum);
void print_help();
@@ -202,7 +200,7 @@ main(int argc, char** argv) {
control.display()->adjust_layout();
while (!control.is_shutdown_completed()) {
countTicks++;
control.inc_tick();
cachedTime = rak::timer::current();
rak::priority_queue_perform(&taskScheduler, cachedTime);