Skip to content

Reminder to release response in Client doc#521

Merged
asvetlov merged 1 commit intoaio-libs:masterfrom
vasylbo:master
Sep 23, 2015
Merged

Reminder to release response in Client doc#521
asvetlov merged 1 commit intoaio-libs:masterfrom
vasylbo:master

Conversation

@vasylbo
Copy link
Copy Markdown
Contributor

@vasylbo vasylbo commented Sep 22, 2015

Its not clearly understandable that you have to release your ClientResponse after use. There is call to release method from read, json and text. But if you use response just to see its headers you can get 'Unclosed response' error when GC kills it.

asvetlov added a commit that referenced this pull request Sep 23, 2015
Reminder to release response in Client doc
@asvetlov asvetlov merged commit 92d50a5 into aio-libs:master Sep 23, 2015
@asvetlov
Copy link
Copy Markdown
Member

Thanks!

@lock
Copy link
Copy Markdown

lock bot commented Oct 30, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 30, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants