diff options
-rw-r--r-- | src/executor.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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<R>(&self, f: impl FnOnce() -> R) -> R { - let _guard = self.0.enter(); - f() + super::Executor::enter(&self.0, f) } } } |