-
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.
Avoid setting the Glide singleton when it's half initialized
If we set the singleton before calling registerComponents, other threads that call get() while registerComponents is being called may receive a half initialized Glide object. Half initialized Glide objects may be missing critical components and using them in other threads may break lots of things. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=161232290
- Loading branch information
Showing
1 changed file
with
13 additions
and
3 deletions.
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