From 0f9daaeacb402a7199e58b14ad01ec0091ac2c8d Mon Sep 17 00:00:00 2001 From: Aapo Alasuutari Date: Wed, 22 Feb 2023 21:09:59 +0200 Subject: fix(ext/ffi): Fix re-ref'ing UnsafeCallback (#17704) --- ext/ffi/lib.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'ext/ffi/lib.rs') diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs index d49b66274..b8e3ac503 100644 --- a/ext/ffi/lib.rs +++ b/ext/ffi/lib.rs @@ -29,7 +29,6 @@ use call::op_ffi_call_ptr; use call::op_ffi_call_ptr_nonblocking; use callback::op_ffi_unsafe_callback_create; use callback::op_ffi_unsafe_callback_ref; -use callback::op_ffi_unsafe_callback_unref; use dlfcn::op_ffi_load; use dlfcn::ForeignFunction; use r#static::op_ffi_get_static; @@ -113,7 +112,6 @@ pub fn init(unstable: bool) -> Extension { op_ffi_read_ptr::decl::

(), op_ffi_unsafe_callback_create::decl::

(), op_ffi_unsafe_callback_ref::decl(), - op_ffi_unsafe_callback_unref::decl(), ]) .event_loop_middleware(|op_state_rc, _cx| { // FFI callbacks coming in from other threads will call in and get queued. -- cgit v1.2.3