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
commit 7fdcd07feb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()
}()