diff options
Diffstat (limited to 'ops/lib.rs')
-rw-r--r-- | ops/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/lib.rs b/ops/lib.rs index 44ea1c677..387707e1a 100644 --- a/ops/lib.rs +++ b/ops/lib.rs @@ -293,7 +293,7 @@ fn codegen_v8_sync( let result = Self::call::<#type_params>(#args_head #args_tail); - let op_state = &mut ctx.state.borrow(); + let op_state = &*ctx.state.borrow(); op_state.tracker.track_sync(ctx.id); #ret |