]> git.meshlink.io Git - catta/commitdiff
call _stop() instead of _quit() in _free(), to avoid hitting an assert()
authorLennart Poettering <lennart@poettering.net>
Fri, 5 May 2006 13:43:26 +0000 (13:43 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 May 2006 13:43:26 +0000 (13:43 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1212 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-common/thread-watch.c

index 27a0835b590b56a2fcfbb37d6b3704ac323d93e3..1a5d9d245dd9183daa5bcc959617bded507589da 100644 (file)
@@ -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);