Fix Wait() on process/tasks
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -78,6 +78,7 @@ func (p *process) Wait(ctx context.Context) (uint32, error) {
|
||||
if err != nil {
|
||||
return UnknownExitStatus, err
|
||||
}
|
||||
<-p.pidSync
|
||||
for {
|
||||
evt, err := events.Recv()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user