don't reannounce on failure when shutting down

This commit is contained in:
Arvid Norberg
2010-05-23 21:27:04 +00:00
parent 395f15c83c
commit e4ef0b853e

View File

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