diff options
author | Luca Casonato <hello@lcas.dev> | 2022-08-10 05:09:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 08:39:45 +0530 |
commit | bdd8ddbe4cc4d23b7c1827f37ff7a0cc61980fa4 (patch) | |
tree | 22b9d6d5bfbb82312b3991cc72d42b4baf7301e0 /ext/ffi/lib.rs | |
parent | 04d402116cb1cb6512fd5f47ab5ee8c3bc0559d0 (diff) |
fix(ext/ffi): unstable op_ffi_unsafe_callback_ref (#15439)
Diffstat (limited to 'ext/ffi/lib.rs')
-rw-r--r-- | ext/ffi/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs index ae4ddd605..6d0bda649 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::<FfiState>(); if inc_dec { ffi_state.active_refed_functions += 1; |