summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <dirkjan@ochtman.nl>2014-01-06 08:41:00 -0500
committerDan Winship <danw@gnome.org>2014-05-02 09:03:56 -0400
commitfdf928f897767d39a9ffe303165835adc8184249 (patch)
tree024537c3672fdff7462933cbc4415e37ec31f87e
parentf2a22c9949ea625c7826f0f93144befb707bedf6 (diff)
downloadlibsoup-fdf928f897767d39a9ffe303165835adc8184249.tar.gz
soup-connection: don't disconnect the connection on dispose
In the normal case, SoupSession will do it itself, and in other cases it might not be wanted. https://bugzilla.gnome.org/show_bug.cgi?id=721343
-rw-r--r--libsoup/soup-connection.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libsoup/soup-connection.c b/libsoup/soup-connection.c
index 9e688183..e0dbd59e 100644
--- a/libsoup/soup-connection.c
+++ b/libsoup/soup-connection.c
@@ -98,11 +98,6 @@ soup_connection_dispose (GObject *object)
stop_idle_timer (priv);
- if (priv->socket) {
- g_warning ("Disposing connection while connected");
- soup_connection_disconnect (conn);
- }
-
G_OBJECT_CLASS (soup_connection_parent_class)->dispose (object);
}