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

Requests started before onStart may never run #346

Closed
sjudd opened this issue Feb 18, 2015 · 0 comments
Closed

Requests started before onStart may never run #346

sjudd opened this issue Feb 18, 2015 · 0 comments
Labels
Milestone

Comments

@sjudd
Copy link
Collaborator

sjudd commented Feb 18, 2015

RequestTracker only maintains a map of weak references to requests. RequestTracker also does not immediately run requests if it believes the Fragment or activity is not started. Requests into non-view targets may not be strongly referenced outside of Glide's request system. As a result, requests into non-view targets made before onStart() may be only weakly referenced and be garbage collected before the fragment or activity is started, preventing the request from ever running.

@sjudd sjudd added the bug label Feb 18, 2015
@sjudd sjudd added this to the 3.5.2 milestone Feb 18, 2015
@sjudd sjudd closed this as completed in 91017ff Feb 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant