This commit is contained in:
geek 2018-04-29 18:08:38 +09:00
parent eecc41f19b
commit 2560090df2

View File

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