diff options
Diffstat (limited to 'src/runtime/blocking/shutdown.rs')
-rw-r--r-- | src/runtime/blocking/shutdown.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/blocking/shutdown.rs b/src/runtime/blocking/shutdown.rs index 3b6cc59..0cf2285 100644 --- a/src/runtime/blocking/shutdown.rs +++ b/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) { |