1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

remove workaround which didn't work

This commit is contained in:
Yoshiya Hinosawa 2024-11-20 13:34:33 +09:00
parent 98e1880357
commit 1d58eb044d
No known key found for this signature in database
GPG key ID: 9017DB4559488785

View file

@ -100,10 +100,7 @@ import {
Pipe,
PipeConnectWrap,
} from "ext:deno_node/internal_binding/pipe_wrap.ts";
import {
kStreamBaseField,
ShutdownWrap,
} from "ext:deno_node/internal_binding/stream_wrap.ts";
import { ShutdownWrap } from "ext:deno_node/internal_binding/stream_wrap.ts";
import { assert } from "ext:deno_node/_util/asserts.ts";
import { isWindows } from "ext:deno_node/_util/os.ts";
import { ADDRCONFIG, lookup as dnsLookup } from "node:dns";
@ -356,7 +353,6 @@ function _afterConnect(
// Callback may come after call to destroy
if (socket.destroyed) {
handle[kStreamBaseField]?.close();
return;
}