diff --git a/tokio/src/runtime/blocking/shutdown.rs b/tokio/src/runtime/blocking/shutdown.rs index 3b6cc5930..0cf22859b 100644 --- a/tokio/src/runtime/blocking/shutdown.rs +++ b/tokio/src/runtime/blocking/shutdown.rs @@ -38,7 +38,7 @@ impl Receiver { use crate::runtime::enter::try_enter; if timeout == Some(Duration::from_nanos(0)) { - return true; + return false; } let mut e = match try_enter(false) {