[gvfs/gdbus-core: 23/49] gdbus: More signal handler disconnection
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/gdbus-core: 23/49] gdbus: More signal handler disconnection
- Date: Tue, 31 Jul 2012 10:14:23 +0000 (UTC)
commit 92d43f90747d359cd404e6043f754dde0bd69f5a
Author: Tomas Bzatek <tbzatek redhat com>
Date: Mon Jun 18 14:24:59 2012 +0200
gdbus: More signal handler disconnection
Not really a problem in this case, but let's be on a safe side.
daemon/gvfsdaemon.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gvfsdaemon.c b/daemon/gvfsdaemon.c
index 9a5ca2b..37def20 100644
--- a/daemon/gvfsdaemon.c
+++ b/daemon/gvfsdaemon.c
@@ -654,6 +654,7 @@ peer_connection_closed (GDBusConnection *connection,
g_hash_table_foreach (daemon->registered_paths, (GHFunc) peer_unregister_skeleton, connection);
/* The peer-to-peer connection was disconnected */
+ g_signal_handlers_disconnect_by_data (connection, user_data);
g_object_unref (connection);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]