Fix git merging badly

This commit is contained in:
Anthony Laibe 2018-10-03 15:28:00 +01:00
parent de93a56e9f
commit 7d4407ce3c
1 changed files with 5 additions and 4 deletions

View File

@ -44,10 +44,11 @@ class Server {
wss.clients.forEach(function (client) { wss.clients.forEach(function (client) {
client.send('outputDone'); client.send('outputDone');
}); });
self.events.on('outputError', () => { });
if (ws.readyState === WEB_SOCKET_STATE_OPEN) {
return ws.send('outputError'); self.events.on('outputError', () => {
} wss.clients.forEach(function (client) {
client.send('outputError');
}); });
}); });