Closed agois closed 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.
The same leak found here is well explained by this post: https://corner.squareup.com/2015/08/a-small-leak.html
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.