Merge pull request #2252 from pkagrawal/2251-fix
Synchronize the call to linuxContainer.Signal()
This commit is contained in:
commit
0ff53526a4
|
@ -379,6 +379,8 @@ func (c *linuxContainer) start(process *Process) error {
|
|||
}
|
||||
|
||||
func (c *linuxContainer) Signal(s os.Signal, all bool) error {
|
||||
c.m.Lock()
|
||||
defer c.m.Unlock()
|
||||
if all {
|
||||
return signalAllProcesses(c.cgroupManager, s)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue