Этот коммит содержится в:
=Corey Hulen
2015-12-07 16:03:42 -08:00
родитель b06f11fd63
Коммит 75a2ce062a

Просмотреть файл

@@ -59,13 +59,14 @@ class SocketStoreClass extends EventEmitter {
conn.onopen = () => { conn.onopen = () => {
if (this.failCount > 0) { if (this.failCount > 0) {
console.log('websocket re-established connection'); //eslint-disable-line no-console console.log('websocket re-established connection'); //eslint-disable-line no-console
}
this.failCount = 0;
if (ErrorStore.getLastError()) { if (ErrorStore.getLastError()) {
ErrorStore.storeLastError(null); ErrorStore.storeLastError(null);
ErrorStore.emitChange(); ErrorStore.emitChange();
} }
}
this.failCount = 0;
}; };
conn.onclose = () => { conn.onclose = () => {