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) => {