mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-04 21:29:21 +00:00
Allow for quick shutdown after sending the first UDP announce packet.
This commit is contained in:
+4
-3
@@ -67,10 +67,11 @@ Manager::~Manager() {
|
|||||||
bool
|
bool
|
||||||
Manager::is_download_shutdown_completed() {
|
Manager::is_download_shutdown_completed() {
|
||||||
for (const auto& download : *download_list()) {
|
for (const auto& download : *download_list()) {
|
||||||
if (download->tracker_controller().is_active())
|
// TODO: Why is this being checked?
|
||||||
return false;
|
// if (download->tracker_controller().is_active())
|
||||||
|
// return false;
|
||||||
|
|
||||||
if (download->tracker_controller().has_active_trackers_not_dht())
|
if (download->tracker_controller().has_active_trackers_not_dht_scrape_disownable())
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user