From 97db2012caeaa940d07b80fac450b3b5d10e6bb1 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 30 Jul 2022 23:00:15 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartproxy.classes.networkproxy.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 84f09aa..556b1fd 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.27', + version: '3.0.28', description: 'a proxy for handling high workloads of proxying' } diff --git a/ts/smartproxy.classes.networkproxy.ts b/ts/smartproxy.classes.networkproxy.ts index 2dc4123..f124112 100644 --- a/ts/smartproxy.classes.networkproxy.ts +++ b/ts/smartproxy.classes.networkproxy.ts @@ -281,8 +281,6 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g= if (this.socketMap.checkForObject(connection)) { this.socketMap.remove(connection); console.log(`removed connection. ${this.socketMap.getArray().length} sockets remaining.`); - connection.destroy(); - console.log(`socket successfully destroyed.`); } }; connection.on('close', () => {