mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[host] dont overwrite the exit code on shutdown
This commit is contained in:
@@ -663,8 +663,13 @@ fail_ivshmem:
|
||||
return exitcode;
|
||||
}
|
||||
|
||||
void app_shutdown(void)
|
||||
{
|
||||
app.state = APP_STATE_SHUTDOWN;
|
||||
}
|
||||
|
||||
void app_quit(void)
|
||||
{
|
||||
app.exitcode = LG_HOST_EXIT_USER;
|
||||
app.state = APP_STATE_SHUTDOWN;
|
||||
app_shutdown();
|
||||
}
|
||||
|
Reference in New Issue
Block a user