forked from I2P_Developers/i2p.i2p
- Prevent torrent shutdown when changing file priority to skip
This commit is contained in:
@@ -308,6 +308,7 @@ class PeerState implements DataLoader
|
||||
+ peer);
|
||||
|
||||
// Last chunk needed for this piece?
|
||||
// FIXME if priority changed to skip, we will think we're done when we aren't
|
||||
if (getFirstOutstandingRequest(req.getPiece()) == -1)
|
||||
{
|
||||
// warning - may block here for a while
|
||||
|
||||
Reference in New Issue
Block a user