From 64bf3aef6d13d872f553e5893620f639880a6e25 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Fri, 29 Jul 2022 16:12:18 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartproxy.classes.networkproxy.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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`); }); }