summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/hosted/sdl/button-sdl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c
index e9fc03792c..629d3aa9bd 100644
--- a/firmware/target/hosted/sdl/button-sdl.c
+++ b/firmware/target/hosted/sdl/button-sdl.c
@@ -176,6 +176,7 @@ void gui_message_loop(void)
case SDL_QUIT:
{
sim_exit_irq_handler();
+ SDL_Quit();
exit(EXIT_SUCCESS);
break;
}