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 892dc54bd2
.
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
parent
e8104a4858
commit
7f3bf993d6
@ -707,7 +707,6 @@ func (s *service) send(evt interface{}) {
|
||||
s.events <- evt
|
||||
}
|
||||
|
||||
// s.mu must be locked when calling handleProcessExit
|
||||
func (s *service) handleProcessExit(e runcC.Exit, c *runc.Container, p process.Process) {
|
||||
if ip, ok := p.(*process.Init); ok {
|
||||
// Ensure all children are killed
|
||||
|
Loading…
Reference in New Issue
Block a user