fix: ensure utilityProcess
only emits one 'exit' event (#44243)
fix: ensure utilityProcess only emits one exit
This commit is contained in:
parent
b5acebf3ba
commit
df45474b58
3 changed files with 21 additions and 11 deletions
|
@ -105,6 +105,7 @@ class UtilityProcessWrapper final
|
|||
int stdout_read_fd_ = -1;
|
||||
int stderr_read_fd_ = -1;
|
||||
bool connector_closed_ = false;
|
||||
bool terminated_ = false;
|
||||
std::unique_ptr<mojo::Connector> connector_;
|
||||
blink::MessagePortDescriptor host_port_;
|
||||
mojo::Receiver<node::mojom::NodeServiceClient> receiver_{this};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue