fix(core): update

This commit is contained in:
Philipp Kunz 2022-07-30 23:00:15 +02:00
parent 0ee13b4e06
commit 97db2012ca
2 changed files with 1 additions and 3 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smartproxy', name: '@pushrocks/smartproxy',
version: '3.0.27', version: '3.0.28',
description: 'a proxy for handling high workloads of proxying' description: 'a proxy for handling high workloads of proxying'
} }

View File

@ -281,8 +281,6 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
if (this.socketMap.checkForObject(connection)) { if (this.socketMap.checkForObject(connection)) {
this.socketMap.remove(connection); this.socketMap.remove(connection);
console.log(`removed connection. ${this.socketMap.getArray().length} sockets remaining.`); console.log(`removed connection. ${this.socketMap.getArray().length} sockets remaining.`);
connection.destroy();
console.log(`socket successfully destroyed.`);
} }
}; };
connection.on('close', () => { connection.on('close', () => {