Skip to content

Commit

Permalink
Merge pull request #779 from nklincoln/fix-callback-end
Browse files Browse the repository at this point in the history
move location of cb.end()
  • Loading branch information
aklenik authored Apr 1, 2020
2 parents bffcd48 + b9def90 commit 2ddd4f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,9 @@ class CaliperLocalClient {

// Clean up
await rateController.end();
await cb.end();
await this.blockchain.releaseContext(this.context);
this.clearUpdateInter(txUpdateInter);
await cb.end();

// Return the results and time stamps
if (this.resultStats.length > 0) {
Expand Down

0 comments on commit 2ddd4f1

Please sign in to comment.