fixed watchdog
This commit is contained in:
@@ -91,9 +91,8 @@ fn main() {
|
||||
watchdog.join().expect("Watchdog thread paniced");
|
||||
}
|
||||
|
||||
fn watchdog(thread: JoinHandle<()>, spanic: chan::Sender<()>) {
|
||||
fn watchdog(thread: JoinHandle<()>, _spanic: chan::Sender<()>) {
|
||||
thread.join().expect("Thread paniced");
|
||||
spanic.send(());
|
||||
}
|
||||
|
||||
fn run(rdone: chan::Receiver<()>) {
|
||||
|
||||
Reference in New Issue
Block a user