Commit 378b4c40 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

ui: Stop core instead of pausing it on quit

When using RetroRunner, this helps ensuring we unload the game, deinit
the core, and by extension that cores saving on unload save as expected
when quitting the application.

https://bugzilla.gnome.org/show_bug.cgi?id=782772
parent 9c40b4a5
......@@ -355,7 +355,7 @@ private class Games.ApplicationWindow : Gtk.ApplicationWindow {
if (display_box.runner == null)
return true;
display_box.runner.pause ();
display_box.runner.stop ();
if (display_box.runner.can_quit_safely)
return true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment