mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
do not expose jsThreadManager from RCTInstance (#37210)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37210 Changelog: [Internal] no need to expose this Reviewed By: christophpurrer Differential Revision: D45507159 fbshipit-source-id: 1467dba09d6359f73996d0d0eeb246eb3f59e96c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8c2458e542
commit
1b741db635
@@ -69,8 +69,6 @@ RCT_EXTERN NSString *const RCTHostDidReloadNotification;
|
||||
- (RCTFabricSurface *)createSurfaceWithModuleName:(NSString *)moduleName
|
||||
initialProperties:(NSDictionary *)properties FB_OBJC_DIRECT;
|
||||
|
||||
- (RCTJSThreadManager *)getJSThreadManager FB_OBJC_DIRECT;
|
||||
|
||||
- (RCTModuleRegistry *)getModuleRegistry FB_OBJC_DIRECT;
|
||||
|
||||
- (NSArray *)getLoggingData FB_OBJC_DIRECT;
|
||||
|
||||
@@ -192,11 +192,6 @@ NSString *const RCTHostDidReloadNotification = @"RCTHostDidReloadNotification";
|
||||
return [self createSurfaceWithModuleName:moduleName mode:DisplayMode::Visible initialProperties:properties];
|
||||
}
|
||||
|
||||
- (RCTJSThreadManager *)getJSThreadManager
|
||||
{
|
||||
return [_instance jsThreadManager];
|
||||
}
|
||||
|
||||
- (RCTModuleRegistry *)getModuleRegistry
|
||||
{
|
||||
return _moduleRegistry;
|
||||
|
||||
@@ -86,8 +86,6 @@ typedef void (^_Null_unspecified RCTInstanceInitialBundleLoadCompletionBlock)();
|
||||
|
||||
- (void)invalidate;
|
||||
|
||||
@property (nonatomic, readonly, strong, FB_DIRECT) RCTJSThreadManager *jsThreadManager;
|
||||
|
||||
@property (nonatomic, readonly, strong) RCTPerformanceLogger *performanceLogger;
|
||||
|
||||
@property (nonatomic, readonly, strong) RCTSurfacePresenter *surfacePresenter;
|
||||
|
||||
@@ -76,6 +76,7 @@ void RCTInstanceSetRuntimeDiagnosticFlags(NSString *flags)
|
||||
JsErrorHandler::JsErrorHandlingFunc _jsErrorHandlingFunc;
|
||||
std::mutex _invalidationMutex;
|
||||
std::atomic<bool> _valid;
|
||||
RCTJSThreadManager *_jsThreadManager;
|
||||
|
||||
// APIs supporting interop with native modules and view managers
|
||||
RCTBridgeModuleDecorator *_bridgeModuleDecorator;
|
||||
|
||||
Reference in New Issue
Block a user