mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-12 23:58:09 +00:00
After previous commit, found that kata-proxy is not quit when vmcache server is stopped by ctrl-c. The cause is current kata-proxy is setsid when it exec. It will not get the signal ctrl-c. Call vm.Disconnect() when close vm in cache factory to handle this issue. Fixes: #1726 Signed-off-by: Hui Zhu <teawater@hyper.sh>