mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
remove workaround which didn't work
This commit is contained in:
parent
98e1880357
commit
1d58eb044d
1 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue