From e4ef0b853e4e3972065b43376420284e4911a655 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 23 May 2010 21:27:04 +0000 Subject: [PATCH] don't reannounce on failure when shutting down --- src/torrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torrent.cpp b/src/torrent.cpp index 72b97ba33..72ca9e9e2 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -6494,7 +6494,7 @@ namespace libtorrent } } // announce to the next working tracker - announce_with_tracker(); + if (!m_abort) announce_with_tracker(); update_tracker_timer(time_now()); }