When calling the OnSigchldReceived() of the EventListener, the pid and
the status should be set properly.
Change-Id: Icc5b1fd0875dc92c3bf513e0e3afe12d6b6e538a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
}
if (listener_ != nullptr)
- listener_->OnSigchld(child_pid, status);
+ listener_->OnSigchld(info.ssi_pid, info.ssi_status);
} while (ret == 0);
}
}
if (listener_ != nullptr)
- listener_->OnSigchldReceived(child_pid, status);
+ listener_->OnSigchldReceived(info.ssi_pid, info.ssi_status);
} while (ret == 0);
}