Move prune after loop in demo, demonstrates task re-use
This commit is contained in:
parent
b046efc0bf
commit
d7d825a920
|
@ -33,6 +33,7 @@ fn main() {
|
|||
while runtime.any_woken() {
|
||||
println!("Ticking");
|
||||
runtime.tick();
|
||||
runtime.prune();
|
||||
}
|
||||
runtime.prune();
|
||||
println!("Hewwo Mr Obama")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue