dbus: don't lock the playlist, but only yield the input to prevent its destruction...
authorRafaël Carré <funman@videolan.org>
Tue, 23 Oct 2007 12:10:30 +0000 (12:10 +0000)
committerRafaël Carré <funman@videolan.org>
Tue, 23 Oct 2007 12:10:30 +0000 (12:10 +0000)
commitaeec2857f1e97d8c0f65da1b11cb2917795b1680
tree4f8e5c2ffaf15ba12aabe481d9a5489c6468b8d3
parent8071564e17af2ef0e4c8bb093862fe3b5c37caf6
dbus: don't lock the playlist, but only yield the input to prevent its destruction while we are accessing it.
We do that because we can't lock the playlist when we're in the input "state" callback because we MAY have been called by playlist_Control(), which does lock the playlist, and then call us.
ref #1346
modules/control/dbus.c