Nothing
This commit is contained in:
parent
2b842024c0
commit
1a55936346
1 changed files with 2 additions and 2 deletions
|
|
@ -547,8 +547,8 @@ impl TorrentState {
|
||||||
g.chunks.mark_chunk_request_cancelled(req.piece, req.chunk);
|
g.chunks.mark_chunk_request_cancelled(req.piece, req.chunk);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PeerState::Queued | PeerState::Dead | PeerState::NotNeeded => {
|
s @ PeerState::Queued | s @ PeerState::Dead | s @ PeerState::NotNeeded => {
|
||||||
warn!("bug: peer was in a wrong state, ignoring it forever");
|
warn!("bug: peer was in a wrong state {s:?}, ignoring it forever");
|
||||||
// Prevent deadlocks.
|
// Prevent deadlocks.
|
||||||
drop(pe);
|
drop(pe);
|
||||||
self.peers.drop_peer(handle);
|
self.peers.drop_peer(handle);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue