From a527b3a5de86d8753f7881faff694fbe3797d93d Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Sat, 31 Aug 2024 09:46:02 +1000 Subject: chore(net): remove `Deno.shutdown()` (#25253) --- ext/net/01_net.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'ext/net/01_net.js') diff --git a/ext/net/01_net.js b/ext/net/01_net.js index a41a27543..87bbcd476 100644 --- a/ext/net/01_net.js +++ b/ext/net/01_net.js @@ -63,10 +63,6 @@ async function write(rid, data) { return await core.write(rid, data); } -function shutdown(rid) { - return core.shutdown(rid); -} - async function resolveDns(query, recordType, options) { let cancelRid; let abortHandler; @@ -164,7 +160,7 @@ class Conn { } closeWrite() { - return shutdown(this.#rid); + return core.shutdown(this.#rid); } get readable() { @@ -647,7 +643,6 @@ export { Listener, listenOptionApiName, resolveDns, - shutdown, TcpConn, UnixConn, validatePort, -- cgit v1.2.3