1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-03 13:03:50 +00:00

don't scrape if stopping

This commit is contained in:
Mitchell Livingston 2006-12-17 17:35:39 +00:00
parent 5cdd717e22
commit 38b97ccf13

View file

@ -291,7 +291,7 @@ static int shouldScrape( tr_tracker_t * tc )
uint64_t now, interval; uint64_t now, interval;
/* in process of changing tracker or scrape not supported */ /* in process of changing tracker or scrape not supported */
if( tc->shouldChangeAnnounce != TC_CHANGE_NO || !tc->trackerCanScrape ) if( tc->shouldChangeAnnounce != TC_CHANGE_NO || !tc->trackerCanScrape || tc->stopped )
{ {
return 0; return 0;
} }