dbus: first restart timer, then dispatch it
authorLennart Poettering <lennart@poettering.net>
Tue, 16 Feb 2010 01:49:44 +0000 (02:49 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 21 Feb 2010 16:47:36 +0000 (17:47 +0100)
commitac76dbde6312b8052b80ce0239ef9443cfb27e1f
tree42ecc9a1907b049798da5b3f4b69b13feae6d924
parent69ddfaf6ed8db98535382413ec4675865053dbc2
dbus: first restart timer, then dispatch it

This makes sure that we don't access the timer after it might have been
destroyed already from the dbus timeout callback.

https://bugzilla.redhat.com/attachment.cgi?id=389952
src/pulsecore/dbus-util.c