Skip to content

Commit

Permalink
don't reset connectPromise
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek authored Jun 29, 2019
1 parent 38c4a98 commit aa95316
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ class RPCClient extends EventEmitter {
});
this.transport.once('close', () => {
this.emit('disconnected');
this._connectPromise = undefined;
reject();
});
this.transport.connect().catch(reject);
Expand Down

0 comments on commit aa95316

Please sign in to comment.