delete mobile config react_native_new_architecture:suspend_before_app_termination

Summary:
changelog: [internal]

Remove shipped mobile config

Reviewed By: mdvacca

Differential Revision: D37913252

fbshipit-source-id: f1557e2b93b7f0410385e4dec41ec354e46d04f1
This commit is contained in:
Samuel Susla 2022-07-20 05:47:26 -07:00 коммит произвёл Facebook GitHub Bot
Родитель d0b1d49e9a
Коммит e1d17c8138
1 изменённых файлов: 4 добавлений и 7 удалений

Просмотреть файл

@ -98,13 +98,10 @@ static BackgroundExecutor RCTGetBackgroundExecutor()
_scheduler = [self _createScheduler];
auto reactNativeConfig = _contextContainer->at<std::shared_ptr<ReactNativeConfig const>>("ReactNativeConfig");
if (reactNativeConfig->getBool("react_native_new_architecture:suspend_before_app_termination")) {
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(_applicationWillTerminate)
name:UIApplicationWillTerminateNotification
object:nil];
}
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(_applicationWillTerminate)
name:UIApplicationWillTerminateNotification
object:nil];
}
return self;