Skip to content

Commit 760935e

Browse files
committed
runc-shim: remove misleading comment
It's not true that `s.mu` needs to be held when calling `handleProcessExit`, and indeed hasn't been the case for a while – see 892dc54. Signed-off-by: Laura Brehm <[email protected]> (cherry picked from commit 7f3bf99) Signed-off-by: Laura Brehm <[email protected]>
1 parent eb52ab6 commit 760935e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

runtime/v2/runc/task/service.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,6 @@ func (s *service) send(evt interface{}) {
706706
s.events <- evt
707707
}
708708

709-
// s.mu must be locked when calling handleProcessExit
710709
func (s *service) handleProcessExit(e runcC.Exit, c *runc.Container, p process.Process) {
711710
if ip, ok := p.(*process.Init); ok {
712711
// Ensure all children are killed

0 commit comments

Comments
 (0)