зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1566839 - Use NS_WARNING rather than NS_ERROR when child process initialization fails. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D38908 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
3a5e7c7c50
Коммит
de399107e1
|
@ -2161,7 +2161,7 @@ void ContentParent::LaunchSubprocessInternal(
|
|||
|
||||
mLifecycleState = LifecycleState::ALIVE;
|
||||
if (!InitInternal(aInitialPriority)) {
|
||||
NS_ERROR("failed to initialize child in the parent");
|
||||
NS_WARNING("failed to initialize child in the parent");
|
||||
// We've already called Open() by this point, so we need to close the
|
||||
// channel to avoid leaking the process.
|
||||
ShutDownProcess(SEND_SHUTDOWN_MESSAGE);
|
||||
|
|
Загрузка…
Ссылка в новой задаче