mcxiaoke / android-volley

DEPRECATED
4.29k stars 1.56k forks source link

[fix] leaking the last request object in CacheDispatcher #89

Closed agois closed 9 years ago

agois commented 9 years ago

Similar to #64 to fix a similar Request leak in CacheDispatcher. Also reorganized the run method to match the organization in NetworkDispatcher so the fix is effective in releasing the last handled request.

agois commented 9 years ago

The same leak found here is well explained by this post: https://corner.squareup.com/2015/08/a-small-leak.html