dbus ChangeLog,1.1133,1.1134

Havoc Pennington hp at kemper.freedesktop.org
Sun Oct 1 09:11:26 PDT 2006


Update of /cvs/dbus/dbus
In directory kemper:/tmp/cvs-serv21810

Modified Files:
	ChangeLog 
Log Message:
2006-10-01  Havoc Pennington  <hp at redhat.com>

	* dbus/dbus-bus.c
	(internal_bus_get): only weak ref the connection; this means 
	_dbus_bus_notify_shared_connection_disconnected_unlocked can be
	called safely in any context
	(_dbus_bus_notify_shared_connection_disconnected_unlocked): don't
	unref

	* dbus/dbus-connection.c
	(_dbus_connection_get_dispatch_status_unlocked): move
	_dbus_bus_notify_shared_connection_disconnected_unlocked here
	when queuing Disconnected instead of when the Disconnected message
	arrives, so dbus_bus_get() won't return closed connections.
	



Index: ChangeLog
===================================================================
RCS file: /cvs/dbus/dbus/ChangeLog,v
retrieving revision 1.1133
retrieving revision 1.1134
diff -u -d -r1.1133 -r1.1134
--- ChangeLog	1 Oct 2006 15:36:17 -0000	1.1133
+++ ChangeLog	1 Oct 2006 16:11:23 -0000	1.1134
@@ -1,5 +1,20 @@
 2006-10-01  Havoc Pennington  <hp at redhat.com>
 
+	* dbus/dbus-bus.c
+	(internal_bus_get): only weak ref the connection; this means 
+	_dbus_bus_notify_shared_connection_disconnected_unlocked can be
+	called safely in any context
+	(_dbus_bus_notify_shared_connection_disconnected_unlocked): don't
+	unref
+
+	* dbus/dbus-connection.c
+	(_dbus_connection_get_dispatch_status_unlocked): move
+	_dbus_bus_notify_shared_connection_disconnected_unlocked here
+	when queuing Disconnected instead of when the Disconnected message
+	arrives, so dbus_bus_get() won't return closed connections.
+	
+2006-10-01  Havoc Pennington  <hp at redhat.com>
+
 	* dbus/dbus-connection.c (_dbus_connection_close_if_only_one_ref): 
 	Add a hack to make DBusNewConnectionFunction work right.
 



More information about the dbus-commit mailing list