abort() now emits the signals, so disconnect them before you abort()
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Jan 2008 11:36:34 +0000 (11:36 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Jan 2008 11:36:34 +0000 (11:36 +0000)
Signed-off-by: Simon
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29224 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/network/qt/QNetworkReplyHandler.cpp

index 1f920fcfd666e9fbbe38b50888abc6c6d745d6b1..5daa01fba6a6ae6830954027b37f783a91462582 100644 (file)
@@ -1,3 +1,12 @@
+2008-01-07  Thiago Macieira  <thiago.macieira@trolltech.com>
+
+        Reviewed by Simon.
+
+        abort() now emits the signals, so disconnect them before you abort()
+
+        * platform/network/qt/QNetworkReplyHandler.cpp:
+        (WebCore::QNetworkReplyHandler::abort):
+
 2008-01-07  Simon Hausmann  <hausmann@webkit.org>
 
         Reviewed by Lars.
index 10b54de1258f6448002b956666619a45b23e9c13..6907f7e4ed65ea417790e7ffe11a43df82cea4e6 100644 (file)
@@ -63,6 +63,7 @@ QNetworkReplyHandler::QNetworkReplyHandler(ResourceHandle *handle)
 void QNetworkReplyHandler::abort()
 {
     if (m_reply) {
+        disconnect(m_reply, 0, this, 0);
         m_reply->abort();
         deleteLater();
     }