diff options
Diffstat (limited to 'os-win32.c')
-rw-r--r-- | os-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os-win32.c b/os-win32.c index ae9857448f..586a7c7d49 100644 --- a/os-win32.c +++ b/os-win32.c @@ -52,7 +52,7 @@ int setenv(const char *name, const char *value, int overwrite) static BOOL WINAPI qemu_ctrl_handler(DWORD type) { - qemu_system_shutdown_request(); + qemu_system_shutdown_request(SHUTDOWN_CAUSE_HOST_SIGNAL); /* Windows 7 kills application when the function returns. Sleep here to give QEMU a try for closing. Sleep period is 10000ms because Windows kills the program |