summaryrefslogtreecommitdiff
path: root/ext/ffi/00_ffi.js
diff options
context:
space:
mode:
authorAapo Alasuutari <aapo.alasuutari@gmail.com>2023-05-07 13:31:01 +0300
committerGitHub <noreply@github.com>2023-05-07 10:31:01 +0000
commit0536ae86588328b773f82d9724cd816a86217583 (patch)
tree0655e5834c1a6ef15bee02f5e0bf3347fc12f8c4 /ext/ffi/00_ffi.js
parentb8c936076162e77039063126ee882d995f2c45de (diff)
fix(ext/ffi): UnsafeCallback can hang with 'deno test' (#19018)
Diffstat (limited to 'ext/ffi/00_ffi.js')
-rw-r--r--ext/ffi/00_ffi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffi/00_ffi.js b/ext/ffi/00_ffi.js
index 2091a55b3..67cb13ab6 100644
--- a/ext/ffi/00_ffi.js
+++ b/ext/ffi/00_ffi.js
@@ -426,7 +426,7 @@ class UnsafeCallback {
close() {
this.#refcount = 0;
- core.close(this.#rid);
+ ops.op_ffi_unsafe_callback_close(this.#rid);
}
}