[libsoup/wip/proxy-connect: 13/15] soup-connection: don't disconnect	the connection on dispose
- From: Dan Winship <danw src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [libsoup/wip/proxy-connect: 13/15] soup-connection: don't disconnect	the connection on dispose
 
- Date: Tue, 18 Mar 2014 21:17:06 +0000 (UTC)
 
commit 37dccbf42b3e2ec0137807dbb41e4bd2c47da695
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 9369176..92571fa 100644
--- a/libsoup/soup-connection.c
+++ b/libsoup/soup-connection.c
@@ -82,11 +82,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]