Skip to content

Commit

Permalink
safe connext client stop (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Barbieri authored Jul 30, 2019
1 parent 67f434c commit dad0cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/core/PaymentChannelsClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ class PaymentChannelsClient {
};

stop() {
this.state && this.state.connext && this.state.connext.stop();
this.state && this.state.connext && this.state.connext.stop && this.state.connext.stop();
clearTimeout(this.autoswapHandler);
}

Expand Down

0 comments on commit dad0cfc

Please sign in to comment.