pipewire/src/modules/module-zeroconf-discover
Barnabás Pőcze 8fa4d5c43f pipewire: module-zeroconf-discover: handle when AvahiWatch is freed while dispatching
When a particular AvahiWatch is being dispatched, it cannot
be freed because `watch_callback()` accesses it after
the callback.

Introduce a member (`dispatching`) to coordinate
the deferred freeing in that case.

The timeouts are not affected because the `AvahiTimeout`
object is not accessed after the callback is called.
2022-03-10 21:44:27 +01:00
..
avahi-poll.c pipewire: module-zeroconf-discover: handle when AvahiWatch is freed while dispatching 2022-03-10 21:44:27 +01:00
avahi-poll.h zeroconf: add avahi zerconf discover module 2021-05-14 09:09:48 +02:00