[gnome-games] ui: Stop runners when quitting the game
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] ui: Stop runners when quitting the game
- Date: Wed, 17 Aug 2016 18:56:40 +0000 (UTC)
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]