fix: use the jsonrpc framework reconnect interval

This commit is contained in:
Justin Starry 2019-11-06 19:46:49 -05:00 committed by Michael Vines
parent f3d9ab75e6
commit 3382548a79
1 changed files with 3 additions and 1 deletions

View File

@ -1043,8 +1043,10 @@ export class Connection {
// 1000 means _rpcWebSocket.close() was called explicitly
if (code !== 1000) {
console.log('ws close:', code, message);
} else {
// Only after an explicit close do we need to explicitly connect again
this._rpcWebSocketConnected = false;
}
this._rpcWebSocketConnected = false;
}
/**