fix: ensure utilityProcess
only emits one 'exit' event (#44268)
fix: ensure utilityProcess only emits one exit Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
db2050e9d2
commit
b39ba84e87
3 changed files with 21 additions and 11 deletions
|
@ -98,6 +98,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::Remote<node::mojom::NodeService> node_service_remote_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue