This commit is contained in:
crusader 2018-04-29 19:00:38 +09:00
commit d8879bb9d1

View File

@ -167,6 +167,9 @@ func (s *ContainerService) refreshContainer(containerType occp.ContainerType) {
return return
} }
cs.cmd.Process.Kill()
cs.cmd = nil
delete(s.connectorMap, cs.client.Connector) delete(s.connectorMap, cs.client.Connector)
err := cs.client.Stop(context.Background()) err := cs.client.Stop(context.Background())
if nil != err { if nil != err {