mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-30 12:34:22 +01:00
VMCache server just can be stopped by ctrl-c without current commit. This commit adds a new gRPC function Quit to CacheService. VMCache server will stop by itself after 1 second when Quit is called. Factory destroy will call gRPC Quit when VMCache is enabled. Fixes: #1395 Signed-off-by: Hui Zhu <teawater@hyper.sh>