diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-05-05 13:43:26 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-05-05 13:43:26 +0000 |
commit | 8ac89804f1d6182dffa6952c6a3621f06a5fbefa (patch) | |
tree | 14354129601e88b478a0f5da16becb172177730f /avahi-common | |
parent | 331616bd807e632bec117e78f257e8ec99ef0ba5 (diff) |
call _stop() instead of _quit() in _free(), to avoid hitting an assert()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1212 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common')
-rw-r--r-- | avahi-common/thread-watch.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |