Call wait() after calling quit() so that it can gracefully finish
authorAndy Shaw <andy.shaw@digia.com>
Wed, 7 Mar 2012 12:08:02 +0000 (13:08 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 8 Mar 2012 04:31:40 +0000 (05:31 +0100)
commit46c58502639c25e5d19dd84d913b1208d5051db5
treea48415bcecd4fc9f320f6005209cad4f230d2503
parent4bdc7e6f8b5eb13a0c8012674877eacb2e92344e
Call wait() after calling quit() so that it can gracefully finish

There was a problem with slow https connections that if the download
was ongoing when quit() was called then it tended to cause a crash
because it tries to shutdown the SSL connection.

Task-number: QTBUG-24594
Change-Id: I6b161bc7a9bb99e41849537462de2d7c92661902
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
src/network/access/qnetworkaccessmanager.cpp
src/network/access/qnetworkreplyhttpimpl.cpp