diff --git a/proto_package.go b/proto_package.go index 0d03cb1..4ccd794 100644 --- a/proto_package.go +++ b/proto_package.go @@ -226,6 +226,8 @@ func (p *ProtoPackage) build(ctx context.Context) (time.Duration, error) { err = cmd.Wait() + close(done) + Rusage, ok := cmd.ProcessState.SysUsage().(*syscall.Rusage) if !ok { log.Panicf("rusage is not of type *syscall.Rusage, are we running on unix-like?")