Move prune after loop in demo, demonstrates task re-use

This commit is contained in:
Aode (Lion) 2022-01-29 16:01:09 -06:00
parent b046efc0bf
commit d7d825a920

View file

@ -33,6 +33,7 @@ fn main() {
while runtime.any_woken() {
println!("Ticking");
runtime.tick();
runtime.prune();
}
runtime.prune();
println!("Hewwo Mr Obama")
}