diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2022-03-12 01:18:49 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-12 01:18:49 +0900 |
commit | b198bfd7950ce3f20aeaef265be59ff038fc4e11 (patch) | |
tree | 4be0fc3266d6507504eb2fdf8164a12b182d4acb /core/bindings.rs | |
parent | f9b4d262b307649966b6433c72a9ee2b57bde8f7 (diff) |
refactor(core): validate promise id in refOp (#13905)
Diffstat (limited to 'core/bindings.rs')
-rw-r--r-- | core/bindings.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/bindings.rs b/core/bindings.rs index 084d30a15..f84711abf 100644 --- a/core/bindings.rs +++ b/core/bindings.rs @@ -173,8 +173,8 @@ pub fn initialize_context<'s>( // Bind functions to Deno.core.* set_func(scope, core_val, "opcallSync", opcall_sync); set_func(scope, core_val, "opcallAsync", opcall_async); - set_func(scope, core_val, "refOp", ref_op); - set_func(scope, core_val, "unrefOp", unref_op); + set_func(scope, core_val, "refOp_", ref_op); + set_func(scope, core_val, "unrefOp_", unref_op); set_func( scope, core_val, |