diff --git a/packages/react-native/React/Fabric/RCTSurfacePresenter.mm b/packages/react-native/React/Fabric/RCTSurfacePresenter.mm index 77bc364889f..e7aa631d49f 100644 --- a/packages/react-native/React/Fabric/RCTSurfacePresenter.mm +++ b/packages/react-native/React/Fabric/RCTSurfacePresenter.mm @@ -131,19 +131,6 @@ static BackgroundExecutor RCTGetBackgroundExecutor() return _contextContainer; } -- (void)setContextContainer:(ContextContainer::Shared)contextContainer -{ - std::lock_guard lock(_schedulerLifeCycleMutex); - _contextContainer = contextContainer; - _mountingManager.contextContainer = contextContainer; -} - -- (RuntimeExecutor)runtimeExecutor -{ - std::lock_guard lock(_schedulerLifeCycleMutex); - return _runtimeExecutor; -} - - (void)setRuntimeExecutor:(RuntimeExecutor)runtimeExecutor { std::lock_guard lock(_schedulerLifeCycleMutex);