Replicate diagnostic summaries

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Max Brunsfeld 2022-01-04 14:29:22 -08:00
parent b2f0c78924
commit d8b888c9cb
7 changed files with 231 additions and 50 deletions

View file

@ -2672,6 +2672,10 @@ impl<T: Entity> ModelHandle<T> {
}
}
if cx.borrow_mut().foreground().would_park() {
panic!("parked while waiting on condition");
}
rx.recv()
.await
.expect("model dropped with pending condition");