diff --git a/lib/src/command/supervisor.rs b/lib/src/command/supervisor.rs index 3f28f2f..581cb44 100644 --- a/lib/src/command/supervisor.rs +++ b/lib/src/command/supervisor.rs @@ -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"); }