[gnome-games] retro: Remove core from audio and video outputs
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] retro: Remove core from audio and video outputs
- Date: Thu, 18 May 2017 13:04:58 +0000 (UTC)
commit fa418d2e2dd7724c44669119e01da03b260d8df7
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu May 18 14:01:03 2017 +0200
retro: Remove core from audio and video outputs
This will help ensuring we don't use the core we want to free anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=782772
src/retro/retro-runner.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index f542ee9..3d3acb5 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -242,7 +242,9 @@ public class Games.RetroRunner : Object, Runner {
settings.changed["video-filter"].disconnect (on_video_filter_changed);
core = null;
+ video.set_core (null);
video = null;
+ audio.set_core (null);
audio = null;
widget = null;
input_manager = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]