Keep reference on SoupSocket while emitting signals
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>
Fri, 11 Sep 2009 23:04:10 +0000 (19:04 -0400)
committerDan Winship <danw@gnome.org>
Sat, 12 Sep 2009 11:30:11 +0000 (07:30 -0400)
commitbf89ea026547838ca8e4804550ec2337f9574c9a
tree9ae8ecb466c813a9eb860a62cd82624f0f3afa75
parentabc8a146f4bc8936bb416de00fb4e57fca2a21bd
Keep reference on SoupSocket while emitting signals

The socket could have its last external referenced dropped by
soup_message_io_cleanup() during the "readable" signal and then
abort() when trying to emit the "disconnected" signal.

https://bugzilla.gnome.org/show_bug.cgi?id=594951
libsoup/soup-socket.c