Compare commits

..

No commits in common. "0fb9d2f62b332861d6bfb302751bdd8cc2ed2215" and "389be8f0fc954ed518412c8f06dc3f4f62cb5d09" have entirely different histories.

2 changed files with 1 additions and 14 deletions

View File

@ -125,20 +125,7 @@ class RemoteServer {
});
ws.on('error', () => {
clearTimeout(authTimeout);
const client = this._clients.get(ws);
const wasAuthenticated = client && client.authenticated;
this._clients.delete(ws);
if (wasAuthenticated) {
this._config.onSignalingToCapture({
type: 'client-disconnected',
clientId: client.id
});
if (this.getClientCount() === 0) {
this._config.onDestroyCaptureWindow();
}
}
});
}

View File

@ -1,6 +1,6 @@
{
"name": "multi-hoster-uploader",
"version": "2.2.5",
"version": "2.2.4",
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
"main": "main.js",
"scripts": {