diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index a549003..f94a0c2 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartproxy', - version: '3.0.10', + version: '3.0.11', description: 'a proxy for handling high workloads of proxying' } diff --git a/ts/smartproxy.classes.networkproxy.ts b/ts/smartproxy.classes.networkproxy.ts index 270dff9..b1f59f6 100644 --- a/ts/smartproxy.classes.networkproxy.ts +++ b/ts/smartproxy.classes.networkproxy.ts @@ -265,7 +265,6 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g= console.log(`removed connection. ${this.socketMap.getArray().length} sockets remaining.`); connection.end(() => { connection.destroy(); - connection.removeAllListeners(); console.log(`socket successfully destroyed`); }); }