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:
		@@ -707,7 +707,6 @@ func (s *service) send(evt interface{}) {
 | 
				
			|||||||
	s.events <- evt
 | 
						s.events <- evt
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// s.mu must be locked when calling handleProcessExit
 | 
					 | 
				
			||||||
func (s *service) handleProcessExit(e runcC.Exit, c *runc.Container, p process.Process) {
 | 
					func (s *service) handleProcessExit(e runcC.Exit, c *runc.Container, p process.Process) {
 | 
				
			||||||
	if ip, ok := p.(*process.Init); ok {
 | 
						if ip, ok := p.(*process.Init); ok {
 | 
				
			||||||
		// Ensure all children are killed
 | 
							// Ensure all children are killed
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user