Files
containerd/supervisor
yangshukui de0e943db4 Fix close a nil chan err
If docker exec to a container, and then kill the runtime's shim process
it will close a nil chan in Supervisor' execExit interface.

Supervisor.exit
            |---> s.delete
            |         |
            |         V
            |     execMap := s.getDeleteExecSyncMap(t.ID) make getExecSyncChannel return nil
            |
            |--->s.execExit
            |         |
            |         V
            |     synCh := s.getExecSyncChannel(t.ID, t.PID)
            |         |
            |         V
            |     close(synCh) close a nil chan make container panic

Signed-off-by: yangshukui <yangshukui@huawei.com>
2017-05-18 19:29:34 +08:00
..
2017-05-18 19:29:34 +08:00
2016-06-03 15:00:49 -07:00
2016-06-03 15:00:49 -07:00
2016-06-03 15:00:49 -07:00
2017-05-15 08:55:02 +08:00
2016-06-03 15:00:49 -07:00
2017-05-18 19:29:34 +08:00