fix(core): update

This commit is contained in:
Philipp Kunz 2022-07-30 17:26:35 +02:00
parent 5fdfcdb407
commit d732e6e7aa
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -265,6 +265,9 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
destroyed = true; destroyed = true;
connection.destroy(); connection.destroy();
console.log(`socket successfully destroyed.`); console.log(`socket successfully destroyed.`);
plugins.smartdelay.delayFor(1000).then(() => {
connection.removeAllListeners();
});
} }
} }
const cleanupConnection = () => { const cleanupConnection = () => {