mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Remove warnings in RCTBridgeTests
Reviewed By: majak Differential Revision: D2771228 fb-gh-sync-id: dd935094ceeff196c272565bf7efea5112059a1a
This commit is contained in:
committed by
facebook-github-bot-9
parent
0cfe76399c
commit
4fde511f5c
@@ -818,10 +818,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithBundleURL:(__unused NSURL *)bundleUR
|
||||
dispatch_block_t block = ^{
|
||||
RCTProfileEndFlowEvent();
|
||||
|
||||
#if RCT_DEV
|
||||
NSString *_threadName = RCTCurrentThreadName();
|
||||
RCT_PROFILE_BEGIN_EVENT(0, _threadName, nil);
|
||||
#endif
|
||||
RCT_PROFILE_BEGIN_EVENT(0, RCTCurrentThreadName(), nil);
|
||||
|
||||
NSOrderedSet *calls = [buckets objectForKey:queue];
|
||||
@autoreleasepool {
|
||||
|
||||
Reference in New Issue
Block a user