init: don't report abandoned children
This is a fixup of "base: fix destruction of async env sessions".
This commit is contained in:
parent
ef482513c4
commit
648539a513
|
@ -317,6 +317,9 @@ void Init::Child::apply_downgrade()
|
||||||
|
|
||||||
void Init::Child::report_state(Xml_generator &xml, Report_detail const &detail) const
|
void Init::Child::report_state(Xml_generator &xml, Report_detail const &detail) const
|
||||||
{
|
{
|
||||||
|
if (abandoned())
|
||||||
|
return;
|
||||||
|
|
||||||
/* true if it's safe to call the PD for requesting resource information */
|
/* true if it's safe to call the PD for requesting resource information */
|
||||||
bool const pd_alive = !abandoned() && !_exited;
|
bool const pd_alive = !abandoned() && !_exited;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user