diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2021-06-25 13:15:35 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-25 13:15:35 +0900 |
commit | 606611708c4351e9f5e0e3b975f9331d95168efb (patch) | |
tree | 38cf330854d59d9bb48d51c9edf2ae982cfe6804 /runtime/ops/signal.rs | |
parent | 66c5f41c5bd5fa08daa09f8650135000c1787829 (diff) |
fix(runtime/signal): use op_async_unref for op_signal_poll (#11097)
Diffstat (limited to 'runtime/ops/signal.rs')
-rw-r--r-- | runtime/ops/signal.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ops/signal.rs b/runtime/ops/signal.rs index b3dfb5aab..ed9c9797e 100644 --- a/runtime/ops/signal.rs +++ b/runtime/ops/signal.rs @@ -1,6 +1,6 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; -use deno_core::op_async; +use deno_core::op_async_unref; use deno_core::op_sync; use deno_core::Extension; use deno_core::OpState; @@ -31,7 +31,7 @@ pub fn init() -> Extension { .ops(vec![ ("op_signal_bind", op_sync(op_signal_bind)), ("op_signal_unbind", op_sync(op_signal_unbind)), - ("op_signal_poll", op_async(op_signal_poll)), + ("op_signal_poll", op_async_unref(op_signal_poll)), ]) .build() } |