Merge pull request #2817 from gaurav1086:runner_fix_goroutine_leak

PiperOrigin-RevId: 313816987
This commit is contained in:
gVisor bot
2020-05-29 11:25:04 -07:00
+1 -1
View File
@@ -204,7 +204,7 @@ func runRunsc(tc gtest.TestCase, spec *specs.Spec) error {
return
}
log.Warningf("%s: Got signal: %v", name, s)
done := make(chan bool)
done := make(chan bool, 1)
dArgs := append([]string{}, args...)
dArgs = append(dArgs, "-alsologtostderr=true", "debug", "--stacks", id)
go func(dArgs []string) {