From b5fcdadd3d6a877f57f7c577ccce111dd7290250 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 3 Feb 2021 00:13:29 +0000 Subject: [PATCH] fix(core): update --- ts/smartproxy.portproxy.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ts/smartproxy.portproxy.ts b/ts/smartproxy.portproxy.ts index 6e841cb..3b0331c 100644 --- a/ts/smartproxy.portproxy.ts +++ b/ts/smartproxy.portproxy.ts @@ -25,6 +25,8 @@ const portProxyCalls = { to.removeAllListeners(); from.unpipe(); to.unpipe(); + from.destroy(); + to.destroy(); } netServer = net .createServer((from) => {