"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bus/connection.c" between
dbus-1.12.16.tar.gz and dbus-1.12.18.tar.gz

About: D-Bus is an inter-process communication (IPC) system, allowing multiple, concurrently-running applications to communicate with one another. D-Bus supplies both a system daemon and a per-user-login-session daemon.

connection.c  (dbus-1.12.16):connection.c  (dbus-1.12.18)
skipping to change at line 539 skipping to change at line 539
connection = connections->incomplete->data; connection = connections->incomplete->data;
dbus_connection_ref (connection); dbus_connection_ref (connection);
dbus_connection_close (connection); dbus_connection_close (connection);
bus_connection_disconnected (connection); bus_connection_disconnected (connection);
dbus_connection_unref (connection); dbus_connection_unref (connection);
} }
_dbus_assert (connections->n_incomplete == 0); _dbus_assert (connections->n_incomplete == 0);
/* drop all monitors */
_dbus_list_clear (&connections->monitors);
/* drop all real connections */ /* drop all real connections */
while (connections->completed != NULL) while (connections->completed != NULL)
{ {
DBusConnection *connection; DBusConnection *connection;
connection = connections->completed->data; connection = connections->completed->data;
dbus_connection_ref (connection); dbus_connection_ref (connection);
dbus_connection_close (connection); dbus_connection_close (connection);
bus_connection_disconnected (connection); bus_connection_disconnected (connection);
dbus_connection_unref (connection); dbus_connection_unref (connection);
} }
_dbus_assert (connections->n_completed == 0); _dbus_assert (connections->n_completed == 0);
/* disconnecting all the connections should have emptied the list of
* monitors (each link is removed in bus_connection_disconnected) */
_dbus_assert (connections->monitors == NULL);
bus_expire_list_free (connections->pending_replies); bus_expire_list_free (connections->pending_replies);
_dbus_loop_remove_timeout (bus_context_get_loop (connections->context), _dbus_loop_remove_timeout (bus_context_get_loop (connections->context),
connections->expire_timeout); connections->expire_timeout);
_dbus_timeout_unref (connections->expire_timeout); _dbus_timeout_unref (connections->expire_timeout);
_dbus_hash_table_unref (connections->completed_by_user); _dbus_hash_table_unref (connections->completed_by_user);
if (connections->monitor_matchmaker != NULL) if (connections->monitor_matchmaker != NULL)
 End of changes. 2 change blocks. 
3 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)