Fix panic in demo
This commit is contained in:
1 file changed
-4
@@ -18,11 +18,7 @@ fn app() -> Element {
|
|||||||
count += 1;
|
count += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
let val = running.read();
|
|
||||||
|
|
||||||
tokio::time::sleep(Duration::from_millis(400)).await;
|
tokio::time::sleep(Duration::from_millis(400)).await;
|
||||||
|
|
||||||
println!("Running: {}", *val);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user