Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure during cb.end() #778

Closed
nklincoln opened this issue Mar 31, 2020 · 0 comments · Fixed by #779
Closed

Failure during cb.end() #778

nklincoln opened this issue Mar 31, 2020 · 0 comments · Fixed by #779
Labels
bug Something isn't working

Comments

@nklincoln
Copy link
Contributor

Within caliper-local-client.js the await cb.end(); is on the wrong line ... it needs to occur before the context is released ...

Proposed fix is to use this snippet instead:

// Clean up
            await rateController.end();
            await cb.end();
            await this.blockchain.releaseContext(this.context);
            this.clearUpdateInter(txUpdateInter);
@nklincoln nklincoln added the bug Something isn't working label Mar 31, 2020
@nklincoln nklincoln changed the title Failure during cb.emd() Failure during cb.end() Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant