Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cache: Call vm.Disconnect() when close vm
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: kata-containers#1726 Signed-off-by: Hui Zhu <[email protected]>
- Loading branch information