mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/yunionio/cloudpods.git
synced 2026-09-20 08:03:53 +08:00
fix(host): start new goroutine to stop guest (#25586)
This commit is contained in:
@@ -2378,7 +2378,7 @@ func (s *SKVMGuestInstance) ExecStopTask(ctx context.Context, params interface{}
|
||||
s.StopTask.StopNow(ctx)
|
||||
} else {
|
||||
s.StopTask = NewGuestStopTask(s, ctx, input.Timeout, input.IsForce)
|
||||
s.StopTask.Start()
|
||||
go s.StopTask.Start()
|
||||
}
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user