diff --git a/ui/sdl.c b/ui/sdl.c index 9994490..a260002 100644 --- a/ui/sdl.c +++ b/ui/sdl.c @@ -265,6 +265,7 @@ static void *sdl__thread(void *p) return NULL; } exit: + done = true; kvm_cpu__reboot(fb->kvm); return NULL;