]> code.delx.au - pulseaudio/commit
zeroconf: Fix pa_mainloop_api_once usage
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 17 Jun 2013 12:41:08 +0000 (18:11 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 18 Jun 2013 02:50:05 +0000 (08:20 +0530)
commite1e154c7377779377fa1a36655a10effd693f7b5
tree249b640e9389331802e0c01411dc020049456cf8
parent9a0dd113429909ca998bc6970ae0c50e5aa138b0
zeroconf: Fix pa_mainloop_api_once usage

We need the mainloop lock to be taken around pa_mainloop_api_once() to
prevent an assert due to the defer event creation and setting of the
destroy callback not being performed atomically.
src/modules/module-zeroconf-publish.c