mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-15 16:11:38 +00:00
Rather than sending a signal to the signal handler used for handling SIGWINCH calls instead use the crate provided termination method. This also unregisters the signal handler which also means that there won't be a leaked signal handler remaining. This leaked signal handler is what was causing a failure to cleanup up the thread on subsequent requests breaking two reboots in a row. Fixes: #252 Signed-off-by: Rob Bradford <robert.bradford@intel.com>