fix(core): update
This commit is contained in:
parent
7b550a35aa
commit
0562de6aa1
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartproxy',
|
||||
version: '3.0.19',
|
||||
version: '3.0.20',
|
||||
description: 'a proxy for handling high workloads of proxying'
|
||||
}
|
||||
|
@ -241,6 +241,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
|
||||
Host: ws.url,
|
||||
},
|
||||
});
|
||||
|
||||
wsc.on('open', () => {
|
||||
wscConnected.resolve();
|
||||
});
|
||||
@ -257,10 +258,8 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
|
||||
const cleanUp = () => {
|
||||
ws.close();
|
||||
ws.terminate();
|
||||
ws.removeAllListeners();
|
||||
wsc.close();
|
||||
wsc.terminate();
|
||||
wsc.removeAllListeners();
|
||||
};
|
||||
|
||||
ws.on('close', (message) => {
|
||||
|
Loading…
Reference in New Issue
Block a user