diff --git a/crates/librqbit/src/chunk_tracker.rs b/crates/librqbit/src/chunk_tracker.rs index 4f4644d..8f03dd9 100644 --- a/crates/librqbit/src/chunk_tracker.rs +++ b/crates/librqbit/src/chunk_tracker.rs @@ -339,14 +339,13 @@ impl ChunkTracker { match (current_piece_selected, current_piece_have) { (true, true) => {} (true, false) => { - dbg!(self.mark_piece_broken_if_not_have(current_piece.piece_index)) + self.mark_piece_broken_if_not_have(current_piece.piece_index) } (false, true) => {} (false, false) => { // don't need the piece, and don't have it - cancel downloading it - dbg!(self - .queue_pieces - .set(current_piece.piece_index.get() as usize, false)); + self.queue_pieces + .set(current_piece.piece_index.get() as usize, false); } }