-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix NPE in FetchedAppGateKeepersManager
Summary: There is a chance that callback from callbacks.poll() can be null, and it will introduce NPE issue Reviewed By: dreamolight Differential Revision: D17186898 fbshipit-source-id: 3f11e924c3485bb5611d11e5b88ecf358e0022be
- Loading branch information
1 parent
e878faf
commit ac56790
Showing
1 changed file
with
9 additions
and
6 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
I think
if (callback != null)
should be check here