diff --git a/src/executor.rs b/src/executor.rs index 34538fb6..13a3990b 100644 --- a/src/executor.rs +++ b/src/executor.rs @@ -40,8 +40,7 @@ mod platform { } fn enter(&self, f: impl FnOnce() -> R) -> R { - let _guard = self.0.enter(); - f() + super::Executor::enter(&self.0, f) } } }