From 609f9d92ae5b51c6094c0ed599284cce02eb15ff Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Thu, 2 May 2024 09:11:45 +0100 Subject: [PATCH] Remove outdated comment --- crates/librqbit/src/torrent_state/live/mod.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/librqbit/src/torrent_state/live/mod.rs b/crates/librqbit/src/torrent_state/live/mod.rs index c6b20ea..c24f70f 100644 --- a/crates/librqbit/src/torrent_state/live/mod.rs +++ b/crates/librqbit/src/torrent_state/live/mod.rs @@ -1382,10 +1382,8 @@ impl PeerHandler { .spawn_block_in_place(move || { let index = piece.index; - // TODO: in theory we should unmark the piece as downloaded here. But if there was a disk error, what - // should we really do? If we unmark it, it will get requested forever... - // - // So let's just unwrap and abort. + // Not being able to write to storage is a fatal error. You need to unpause the + // torrent to recover from it. match self .state .file_ops()