QNetworkAccessManager: delete the httpThread
authorMartin Petersson <Martin.Petersson@nokia.com>
Wed, 13 Jun 2012 06:59:35 +0000 (08:59 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 20 Jun 2012 13:45:07 +0000 (15:45 +0200)
commit534bcc96676ac02fc327f9e43d3785c7424b0750
tree4d2796c8c90db9258b450cfca36cabe670c17318
parentcf7c93b9283d6dded4fd0e57ed771d8470206093
QNetworkAccessManager: delete the httpThread

The httpThread was using deleteLater the finished signal of the
thread to call the deleteLater slot. If the QNetworkAccessManager is
deleted when the application is closed then then fished is emitted
but we never return to the eventloop so the deletion is never done.

This will delete the httpThread directly instead of using deleteLater

Task-number: QTBUG-25487
Change-Id: I1fdbd4eca01e8bd8b3a98936298e5c78217752b4
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/network/access/qnetworkaccessmanager.cpp
src/network/access/qnetworkreplyhttpimpl.cpp