Skip to content

Commit

Permalink
fix(ext/ffi): unstable op_ffi_unsafe_callback_ref (denoland#15439)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato authored Aug 10, 2022
1 parent 04d4021 commit bdd8ddb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/ffi/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1841,6 +1841,7 @@ where

#[op]
fn op_ffi_unsafe_callback_ref(state: &mut deno_core::OpState, inc_dec: bool) {
check_unstable(state, "Deno.dlopen");
let ffi_state = state.borrow_mut::<FfiState>();
if inc_dec {
ffi_state.active_refed_functions += 1;
Expand Down

0 comments on commit bdd8ddb

Please sign in to comment.