Prevent runApplication from being called with uninitialized content view
Reviewed By: javache Differential Revision: D2639111 fb-gh-sync-id: ff9733ee7be1131584d2542f04cf953c63300f95
This commit is contained in:
parent
51a5b60a1a
commit
bdd0b4796a
|
@ -230,7 +230,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)aDecoder)
|
|||
|
||||
_appProperties = [appProperties copy];
|
||||
|
||||
if (_bridge.valid && !_bridge.loading) {
|
||||
if (_contentView && _bridge.valid && !_bridge.loading) {
|
||||
[self runApplication:_bridge.batchedBridge];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue