chore: Revert "fix: utility process exit code for graceful termination" (#44717)
Revert "fix: utility process exit code for graceful termination (#44698)"
This reverts commit 36e1a0bf00
.
This commit is contained in:
parent
10d967028a
commit
1cae73ba09
4 changed files with 49 additions and 11 deletions
|
@ -145,8 +145,8 @@ UtilityProcessWrapper::UtilityProcessWrapper(
|
|||
}
|
||||
}
|
||||
|
||||
// Watch for service process termination events.
|
||||
content::ServiceProcessHost::AddObserver(this);
|
||||
if (!content::ServiceProcessHost::HasObserver(this))
|
||||
content::ServiceProcessHost::AddObserver(this);
|
||||
|
||||
mojo::PendingReceiver<node::mojom::NodeService> receiver =
|
||||
node_service_remote_.BindNewPipeAndPassReceiver();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue