On 4/30/20 8:23 AM, Andrew Zaborowski wrote:
l_dbus_remove_watch (_dbus_name_cache_remove_watch) marks name
as removed and schedules a service_watch_remove_all call. Do the
watch's destroy callback when marking the watch as removed instead of
waiting until the service_watch_remove_all idle callback to do this.
Semantically it may be ok to do the destroy callback later but I think
it's easier on the user if they can be sure they'll get no more
callbacks after using l_dbus_remove_watch.
ell/dbus-name-cache.c | 6 ++++++
1 file changed, 6 insertions(+)
Both applied, thanks.