mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 04:24:15 +00:00
Fix for nil array crash
This commit is contained in:
parent
09460cf21b
commit
d29a0c6768
@ -49,7 +49,7 @@ typedef NS_ENUM(NSUInteger, RCTBridgeFields) {
|
||||
* Temporarily allow to turn on and off the call batching in case someone wants
|
||||
* to profile both
|
||||
*/
|
||||
#define BATCHED_BRIDGE 1
|
||||
#define BATCHED_BRIDGE 0
|
||||
|
||||
#ifdef __LP64__
|
||||
typedef uint64_t RCTHeaderValue;
|
||||
@ -206,10 +206,14 @@ static NSArray *RCTBridgeModuleClassesByModuleID(void)
|
||||
arguments:(NSArray *)args
|
||||
context:(NSNumber *)context;
|
||||
|
||||
#if BATCHED_BRIDGE
|
||||
|
||||
- (void)_actuallyInvokeAndProcessModule:(NSString *)module
|
||||
method:(NSString *)method
|
||||
arguments:(NSArray *)args
|
||||
context:(NSNumber *)context;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user