DBusConnection.removeFilter
void removeFilter(uint filterId)Removes a filter.
Note that since filters run in a different thread, there is a race condition where it is possible that the filter will be running even after calling gio.dbus_connection.DBusConnection.removeFilter, so you cannot just free data that the filter might be using. Instead, you should pass a #GDestroyNotify to gio.dbus_connection.DBusConnection.addFilter, which will be called when it is guaranteed that the data is no longer needed.
Parameters
filterId | an identifier obtained from gio.dbus_connection.DBusConnection.addFilter |