mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 20:01:01 +08:00
Add a bunch more systrace logging
Reviewed By: tadeuzagallo Differential Revision: D3234831 fbshipit-source-id: 177f9b987e938c59d50fc07bce01fb5c912652e7
This commit is contained in:
committed by
Facebook Github Bot 8
parent
86f2eb18e5
commit
267264f1ec
@@ -272,6 +272,7 @@ RCT_EXPORT_MODULE()
|
||||
_pendingUIBlocks = nil;
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
RCT_PROFILE_BEGIN_EVENT(RCTProfileTagAlways, @"UIManager invalidate", nil);
|
||||
for (NSNumber *rootViewTag in _rootViewTags) {
|
||||
[(id<RCTInvalidating>)_viewRegistry[rootViewTag] invalidate];
|
||||
}
|
||||
@@ -283,6 +284,7 @@ RCT_EXPORT_MODULE()
|
||||
_bridge = nil;
|
||||
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||
RCT_PROFILE_END_EVENT(RCTProfileTagAlways, @"", nil);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user