Skip to content
This repository was archived by the owner on Feb 26, 2018. It is now read-only.

Update NetworkDispatcher.java#153

Open
everhad wants to merge 1 commit intomcxiaoke:masterfrom
everhad:master
Open

Update NetworkDispatcher.java#153
everhad wants to merge 1 commit intomcxiaoke:masterfrom
everhad:master

Conversation

@everhad
Copy link
Copy Markdown

@everhad everhad commented Apr 12, 2016

Avoid response and networkResponse object leaking by manually set them to null.
As so far,the run() method in NetworkDispatcher class will still cause memory leaking because the response and networkResponse variables have not been freed after one request handled and waiting for next request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant