remove_filter


Description:

public void remove_filter (uint filter_id)

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 remove_filter, so you cannot just free data that the filter might be using. Instead, you should pass a DestroyNotify to add_filter, which will be called when it is guaranteed that the data is no longer needed.

Parameters:

this

a DBusConnection

filter_id

an identifier obtained from add_filter




2022 vala-language.org