[gvfs/gdbus-core] gdbus: More signal handler disconnection



commit 55bee1e8323eccd58f0e07bfb2947101929a6f3d
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 5cbf7dd..ecfb099 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]