mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix(ext/ffi): unstable op_ffi_unsafe_callback_ref (#15439)
This commit is contained in:
parent
04d402116c
commit
bdd8ddbe4c
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue