[gnome-games] ui: Stop core instead of pausing it on quit
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] ui: Stop core instead of pausing it on quit
- Date: Thu, 18 May 2017 13:05:09 +0000 (UTC)
commit 378b4c407bd879e4a1d4acb10a521c342d378a0a
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu May 18 15:01:04 2017 +0200
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
src/ui/application-window.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/application-window.vala b/src/ui/application-window.vala
index b533c10..4c157ef 100644
--- a/src/ui/application-window.vala
+++ b/src/ui/application-window.vala
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]