Skip to content

Commit

Permalink
fix(dispatcher): reduce unwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Berrysoft committed Dec 16, 2024
1 parent 1277639 commit 5a545b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compio-dispatcher/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl Dispatcher {
.into_iter()
.map(|thread| thread.join())
.collect();
tx.send(results).unwrap();
tx.send(results).ok();
}
}) {
std::thread::spawn(f.0);
Expand Down

0 comments on commit 5a545b2

Please sign in to comment.