-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash when accessing nullptr imageRequest
Summary: ImageState if created with default constructor is created with `imageRequest_` being nullptr. Calling `getObserverCoordinator()` on it was causing a crash. We create initial state data with `imageRequest` populated. Changelog: [Internal] Reviewed By: shergin Differential Revision: D19332711 fbshipit-source-id: 0266222551dbfb10b3f86e72a43d5306650fd09b
- Loading branch information
1 parent
16ada9d
commit cfbd93c
Showing
3 changed files
with
11 additions
and
4 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
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