Formattting

This commit is contained in:
Félix Saparelli 2021-09-29 23:43:39 +13:00
parent f93ba29982
commit d6b7175bb1
1 changed files with 2 additions and 1 deletions

View File

@ -201,7 +201,8 @@ impl Supervisor {
} else {
#[cfg(debug_assertions)]
panic!("waiter is None but ongoing was true, this should never happen");
#[cfg(not(debug_assertions))] {
#[cfg(not(debug_assertions))]
{
self.ongoing.store(false, Ordering::SeqCst);
tracing::warn!("waiter is None but ongoing was true, this should never happen");
}