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 df1b26c commit 646130c
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 646130c

Please sign in to comment.