summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-06-18 14:24:59 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:59:37 +0200
commit92d43f90747d359cd404e6043f754dde0bd69f5a (patch)
tree2d16762fa5c9718f091048de21e4c1a45159b3a5
parent24c5f03c4469951c2b631f5daadd8292c7564850 (diff)
downloadgvfs-92d43f90747d359cd404e6043f754dde0bd69f5a.tar.gz
gdbus: More signal handler disconnection
Not really a problem in this case, but let's be on a safe side.
-rw-r--r--daemon/gvfsdaemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gvfsdaemon.c b/daemon/gvfsdaemon.c
index 9a5ca2b7..37def200 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);
}