diff options
Diffstat (limited to 'core/runtime.rs')
-rw-r--r-- | core/runtime.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime.rs b/core/runtime.rs index 7cb556fd3..23fe73013 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -921,7 +921,7 @@ impl JsRuntime { let state = state_rc.borrow(); let op_state = state.op_state.clone(); for f in &self.event_loop_middlewares { - if f(&mut op_state.borrow_mut(), cx) { + if f(op_state.clone(), cx) { maybe_scheduling = true; } } |