diff --git a/ts/smartproxy.portproxy.ts b/ts/smartproxy.portproxy.ts index 285d31e..6e841cb 100644 --- a/ts/smartproxy.portproxy.ts +++ b/ts/smartproxy.portproxy.ts @@ -22,7 +22,7 @@ const portProxyCalls = { from.end(); to.end(); from.removeAllListeners(); - to.removeEventListener(); + to.removeAllListeners(); from.unpipe(); to.unpipe(); }