in the dock badger, check for membership first when removing a torrent
This commit is contained in:
parent
4d5ab8a4c5
commit
5124d87a5b
|
@ -74,7 +74,7 @@
|
|||
|
||||
- (void) removeTorrent: (Torrent *) torrent
|
||||
{
|
||||
if ([fHashes count] > 0)
|
||||
if ([fHashes member: [torrent hashString]])
|
||||
{
|
||||
[fHashes removeObject: [torrent hashString]];
|
||||
if ([fHashes count] > 0)
|
||||
|
|
Loading…
Reference in New Issue