]> git.0d.be Git - empathy.git/commit
Allow the dispatcher to be freed once a request is finished.
authorJonny Lamb <jonny.lamb@collabora.co.uk>
Fri, 30 Jan 2009 17:16:02 +0000 (17:16 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 30 Jan 2009 17:16:02 +0000 (17:16 +0000)
commit28258efc5b743fb8ef6eec1ac5466dc8038e3f6f
tree41f2fc4a49561d99bc844eb0854cfa12ea43484b
parent287688f54b5580b08db118478bd16bca1a1c6347
Allow the dispatcher to be freed once a request is finished.

Previously, if there was no ref to the dispatcher, it would be freed
before the request could be satisfied. By keeping a ref in the
DispatcherRequestData, it is freed at the right time. This also
disconnects the signal handler from all channels and connections
when freeing the dispatcher as the "invalidated" signal callback can be
called after the dispatcher has been freed.

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=2306
libempathy/empathy-dispatcher.c