summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/net.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/net.ts')
-rw-r--r--ext/node/polyfills/net.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/node/polyfills/net.ts b/ext/node/polyfills/net.ts
index fb1c1bdb6..bcc982d3b 100644
--- a/ext/node/polyfills/net.ts
+++ b/ext/node/polyfills/net.ts
@@ -2374,6 +2374,8 @@ export class Server extends EventEmitter {
socket._server = this;
DTRACE_NET_SERVER_CONNECTION(socket);
+
+ return socket;
}
_listen2 = _setupListenHandle;