[libsoup: 3/5] soup-connection: don't disconnect the connection on dispose



commit fdf928f897767d39a9ffe303165835adc8184249
Author: Dirkjan Ochtman <dirkjan ochtman nl>
Date:   Mon Jan 6 08:41:00 2014 -0500

    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

 libsoup/soup-connection.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/libsoup/soup-connection.c b/libsoup/soup-connection.c
index 9e68818..e0dbd59 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);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]