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

Fix incorrect docs for Client.Release(). #313

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

zenhack
Copy link
Contributor

@zenhack zenhack commented Sep 28, 2022

The implementation does not panic, and in fact some of the tests depend on this behavior to do a defer client.Release() even though they may end up releasing a client sooner than the end of the function call.

The implementation does *not* panic, and in fact some of the tests
depend on this behavior to do a defer client.Release() even though they
may end up releasing a client sooner than the end of the function call.
@zenhack zenhack merged commit 6482672 into capnproto:main Sep 30, 2022
@zenhack zenhack deleted the client.Release-docs branch September 30, 2022 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants