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:
Родитель
d0b1d49e9a
Коммит
e1d17c8138
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче