diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-02-07 02:16:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 02:16:08 +0100 |
commit | 043fee48fd72fbce2357e93431753db5b086cffd (patch) | |
tree | 49d254335953cc03e346d0fe7267eae5260652b8 /ext/net/01_net.js | |
parent | e54684864dee1c708325570eaaff2fce0f928387 (diff) |
chore: upgrade deno_core to 0.259.0 (#22311)
This update brings number of ops available to user code down to 45.
Diffstat (limited to 'ext/net/01_net.js')
-rw-r--r-- | ext/net/01_net.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/net/01_net.js b/ext/net/01_net.js index 1523f5aa5..50f4971f5 100644 --- a/ext/net/01_net.js +++ b/ext/net/01_net.js @@ -5,9 +5,9 @@ const { BadResourcePrototype, InterruptedPrototype, internalRidSymbol, + createCancelHandle, } = core; import { - op_cancel_handle, op_dns_resolve, op_net_accept_tcp, op_net_accept_unix, @@ -67,7 +67,7 @@ async function resolveDns(query, recordType, options) { let abortHandler; if (options?.signal) { options.signal.throwIfAborted(); - cancelRid = op_cancel_handle(); + cancelRid = createCancelHandle(); abortHandler = () => core.tryClose(cancelRid); options.signal[abortSignal.add](abortHandler); } |