Skip to content

Commit

Permalink
Don't panic when one connection thread panics
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnhafen committed Mar 15, 2022
1 parent 7610175 commit 23116d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ev3-tunnel-exit/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ fn main() {

// Join every ev3-controlling-thread to keep the main-thread alive
for handle in handles {
handle.join().expect("[!] The thread we joined panicked!");
let _ = handle.join();
}
}

0 comments on commit 23116d4

Please sign in to comment.