Compare commits
No commits in common. "0fb9d2f62b332861d6bfb302751bdd8cc2ed2215" and "389be8f0fc954ed518412c8f06dc3f4f62cb5d09" have entirely different histories.
0fb9d2f62b
...
389be8f0fc
@ -125,20 +125,7 @@ class RemoteServer {
|
|||||||
});
|
});
|
||||||
|
|
||||||
ws.on('error', () => {
|
ws.on('error', () => {
|
||||||
clearTimeout(authTimeout);
|
|
||||||
const client = this._clients.get(ws);
|
|
||||||
const wasAuthenticated = client && client.authenticated;
|
|
||||||
this._clients.delete(ws);
|
this._clients.delete(ws);
|
||||||
|
|
||||||
if (wasAuthenticated) {
|
|
||||||
this._config.onSignalingToCapture({
|
|
||||||
type: 'client-disconnected',
|
|
||||||
clientId: client.id
|
|
||||||
});
|
|
||||||
if (this.getClientCount() === 0) {
|
|
||||||
this._config.onDestroyCaptureWindow();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "multi-hoster-uploader",
|
"name": "multi-hoster-uploader",
|
||||||
"version": "2.2.5",
|
"version": "2.2.4",
|
||||||
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user