From: Matt Joiner Date: Thu, 21 Aug 2014 15:25:18 +0000 (+1000) Subject: Remove torrent from download strategy when dropped X-Git-Tag: v1.0.0~1628 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=702665f9f3e3cb3dac9191cede69ee6fd3e4c24f;p=btrtrc.git Remove torrent from download strategy when dropped --- diff --git a/client.go b/client.go index 7d082367..22265735 100644 --- a/client.go +++ b/client.go @@ -983,6 +983,7 @@ func (me *Client) DropTorrent(infoHash InfoHash) (err error) { panic(err) } delete(me.torrents, infoHash) + me.downloadStrategy.TorrentStopped(t) return }