[gnome-remote-desktop] daemon: Also clear context on destruction
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-remote-desktop] daemon: Also clear context on destruction
- Date: Wed, 24 Nov 2021 18:04:39 +0000 (UTC)
commit bdeb8077c9e32283fc7dbc4326db00ce7839a59e
Author: Pascal Nowack <Pascal Nowack gmx de>
Date: Mon Nov 22 17:51:17 2021 +0100
daemon: Also clear context on destruction
src/grd-daemon.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/grd-daemon.c b/src/grd-daemon.c
index 9bfc96c..69049de 100644
--- a/src/grd-daemon.c
+++ b/src/grd-daemon.c
@@ -311,6 +311,8 @@ grd_daemon_shutdown (GApplication *app)
g_bus_unwatch_name (daemon->screen_cast_watch_name_id);
daemon->screen_cast_watch_name_id = 0;
+ g_clear_object (&daemon->context);
+
G_APPLICATION_CLASS (grd_daemon_parent_class)->shutdown (app);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]