pulsesink: Create and free the PA mainloop in NULL->READY/READY->NULL
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 6 May 2010 11:51:59 +0000 (13:51 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 6 May 2010 11:51:59 +0000 (13:51 +0200)
commit5332287e2d8f9dc7b32da0f6618a0730bd98513a
tree982f220cac26b5638546a2c0e4b40cd18d804df3
parent85c6b9b712c35632523e8301f6f0ed4893619001
pulsesink: Create and free the PA mainloop in NULL->READY/READY->NULL

This fixes a race condition, when stopping the mainloop during finalization
is done from a mainloop callback.

Fixes bugs #614765 and #590662.
ext/pulse/pulsesink.c