Remove outdated comment
This commit is contained in:
parent
d2e37ead51
commit
609f9d92ae
1 changed files with 2 additions and 4 deletions
|
|
@ -1382,10 +1382,8 @@ impl PeerHandler {
|
||||||
.spawn_block_in_place(move || {
|
.spawn_block_in_place(move || {
|
||||||
let index = piece.index;
|
let index = piece.index;
|
||||||
|
|
||||||
// TODO: in theory we should unmark the piece as downloaded here. But if there was a disk error, what
|
// Not being able to write to storage is a fatal error. You need to unpause the
|
||||||
// should we really do? If we unmark it, it will get requested forever...
|
// torrent to recover from it.
|
||||||
//
|
|
||||||
// So let's just unwrap and abort.
|
|
||||||
match self
|
match self
|
||||||
.state
|
.state
|
||||||
.file_ops()
|
.file_ops()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue