fix: automatically stop task tracking on close

This commit is contained in:
xeruf 2024-07-19 19:57:32 +03:00
parent c8463e6924
commit 3a444c3ac2
1 changed files with 2 additions and 0 deletions

View File

@ -210,6 +210,8 @@ async fn repl() {
}
}
tasks.update_state("", |t| if t.pure_state() == State::Active { Some(State::Open) } else { None });
println!();
println!("Submitting created events");
let _ = CLIENT