Skip to content

Commit 7f3bf99

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]>
1 parent e8104a4 commit 7f3bf99

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

cmd/containerd-shim-runc-v2/task/service.go

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

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

0 commit comments

Comments
 (0)