[gnome-games] ui: Stop runners when quitting the game



commit fa09f208406b3d0f5b60e324de90101b356e654b
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed Aug 17 14:07:07 2016 +0200

    ui: Stop runners when quitting the game
    
    This allows to release the Libretro cores when quitting a game.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770004

 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 192b2dc..68ad9fe 100644
--- a/src/ui/application-window.vala
+++ b/src/ui/application-window.vala
@@ -18,7 +18,7 @@ private class Games.ApplicationWindow : Gtk.ApplicationWindow {
                                is_fullscreen = false;
 
                                if (display_box.runner != null) {
-                                       display_box.runner.pause ();
+                                       display_box.runner.stop ();
                                        display_box.runner = null;
                                }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]