fixed watchdog

This commit is contained in:
Simon Wörner
2017-03-31 18:09:29 +02:00
parent 8443acb129
commit ce16cf7ab1

View File

@@ -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<()>) {