diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs index ae4ddd6057..6d0bda6494 100644 --- a/ext/ffi/lib.rs +++ b/ext/ffi/lib.rs @@ -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::(); if inc_dec { ffi_state.active_refed_functions += 1;