Patch in some changes from another branch
This commit is contained in:
parent
9474a6d52e
commit
82f8b0932c
2 changed files with 93 additions and 80 deletions
|
|
@ -707,7 +707,8 @@ impl TorrentStateLive {
|
|||
}
|
||||
}
|
||||
|
||||
self.streams.wake_streams_on_piece_completed(id);
|
||||
self.streams
|
||||
.wake_streams_on_piece_completed(id, &self.meta.lengths);
|
||||
|
||||
if self.is_finished() {
|
||||
if self.lock_read("chunks").get_chunks()?.get_selected_pieces()[id.get_usize()] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue