]> code.delx.au - pulseaudio/commit
dbus: Do not refcnt the core.
authorColin Guthrie <cguthrie@mandriva.org>
Fri, 25 Mar 2011 23:43:26 +0000 (23:43 +0000)
committerColin Guthrie <cguthrie@mandriva.org>
Fri, 25 Mar 2011 23:43:26 +0000 (23:43 +0000)
commit1e381fbffc190fdede27d6f27a2d113daf3e791d
tree4a74a0e2fef5be3d374bdc3e5b63aec141b34350
parent7aa8a3fa8015d17240e5fc27bf44eb7d22e7e13a
dbus: Do not refcnt the core.

We should not call pa_core_ref() anywhere in the code. Doing so
will prevent proper daemon shutdown as the only call (in daemon/main.c)
to pa_core_unref() should always call free_core() and perform a normal
shutdown (i.e. unload all modules gracefully).
src/modules/dbus/iface-core.c
src/modules/dbus/iface-memstats.c
src/pulsecore/protocol-dbus.c