Commit b4d571bb authored by John Palmieri's avatar John Palmieri

* dbus/dbus-connection.c (dbus_connection_dispatch): Properly remove

 filters (Patch from Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>)
parent b1951194
2006-09-08 John (J5) Palmieri <johnp@redhat.com>
* dbus/dbus-connection.c (dbus_connection_dispatch): Properly remove
filters (Patch from Kimmo Hämäläinen
<kimmo dot hamalainen at nokia dot com>)
2006-09-07 John (J5) Palmieri <johnp@redhat.com>
* dbus/dbus-connection-internal.h: Add prototype for
......
......@@ -3718,6 +3718,13 @@ dbus_connection_dispatch (DBusConnection *connection)
DBusMessageFilter *filter = link->data;
DBusList *next = _dbus_list_get_next_link (&filter_list_copy, link);
if (filter->function == NULL)
{
_dbus_verbose (" filter was removed in a callback function\n");
link = next;
continue;
}
_dbus_verbose (" running filter on message %p\n", message);
result = (* filter->function) (connection, message, filter->user_data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment