Skip to content

Commit

Permalink
add checking whether finish or not
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Aug 31, 2024
1 parent 1ae1eba commit 37051a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync/src/parallel/sender.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ impl DagBlockSender {

self.executors.retain(|worker| {
if let ExecuteState::Closed = worker.state {
worker.handle.is_finished()
!worker.handle.is_finished()
} else {
true
}
Expand Down

0 comments on commit 37051a4

Please sign in to comment.