Merge pull request #4310 from gaurav1086/process_io_fix_goroutine_leak

Process I/O: Fix goroutine leak
This commit is contained in:
Michael Crosby
2020-06-08 16:34:11 -04:00
committed by GitHub

View File

@@ -381,7 +381,7 @@ func (b *binaryIO) cancel() error {
return result.ErrorOrNil()
}
done := make(chan error)
done := make(chan error, 1)
go func() {
done <- b.cmd.Wait()
}()