Merge pull request #4310 from gaurav1086/process_io_fix_goroutine_leak
Process I/O: Fix goroutine leak
This commit is contained in:
commit
7fdcd07feb
@ -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()
|
||||
}()
|
||||
|
Loading…
Reference in New Issue
Block a user