Fix crash when destroying catalyst

Reviewed By: fromcelticpark

Differential Revision: D6373275

fbshipit-source-id: c36b53f023800097b301d530250b05e5b2a4dfca
This commit is contained in:
Dmitry Zakharov authored and Facebook Github Bot committed 2017-11-20 07:38:53 -08:00
1 parent 0ff576081b
commit f1015664e9
2 files changed
+18 -6

No files matched your search

@@ -21,7 +21,7 @@ public interface ViewManagerOnDemandReactPackage {
*
* @param loadClasses defines if View Managers classes should be loaded or be avoided.
*/
List<String> getViewManagerNames(ReactApplicationContext reactContext, boolean loadClasses);
@Nullable List<String> getViewManagerNames(ReactApplicationContext reactContext, boolean loadClasses);
/**
* Creates and returns a ViewManager with a specific name {@param viewManagerName}. It's up to an
* implementing package how to interpret the name.