hyperhq / hyperd

HyperContainer Daemon
http://www.hypercontainer.io
Apache License 2.0
1.98k stars 196 forks source link

Daemon.RemovePod: change p.IsAlive to !p.IsStopped #720

Closed teawater closed 6 years ago

teawater commented 6 years ago

When pod get some error, its status will be set to not running but its qemu is still running. So change to remove check to handle the issue.

Signed-off-by: Hui Zhu teawater@hyper.sh

gnawux commented 6 years ago

retest this please, hykins

teawater commented 6 years ago

With this patch, I got some qemu doesn't quit issue.