X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Fthread-watch.c;h=1a5d9d245dd9183daa5bcc959617bded507589da;hb=53759b345814d36f75e2a534113e3b1cd0120f08;hp=27a0835b590b56a2fcfbb37d6b3704ac323d93e3;hpb=63b016778a0a8c277f192acd6fe5fd5f56a9f170;p=catta diff --git a/avahi-common/thread-watch.c b/avahi-common/thread-watch.c index 27a0835..1a5d9d2 100644 --- a/avahi-common/thread-watch.c +++ b/avahi-common/thread-watch.c @@ -113,7 +113,7 @@ void avahi_threaded_poll_free(AvahiThreadedPoll *p) { assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id)); if (p->thread_running) - avahi_threaded_poll_quit(p); + avahi_threaded_poll_stop(p); if (p->simple_poll) avahi_simple_poll_free(p->simple_poll);