-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only restart full request when restarting requests with thumbnails.
When thumbnail requests finish after full requests complete, we discard the thumbnail's resource to decrease memory usage and we set the thumbnails status to complete. When requests are restarted after they complete, we just call onLoadComplete with whatever resource they had previously. As a result, thumbnail requests that completed after full requests were calling onLoadComplete(null), causing spammy error logs and potentially undesireable calls to onLoadFailed. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=177489960
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters