Cancel NSURLConnections before releasing them.
Task-number: QTBUG-37042 Change-Id: I7ddcbc315b4b720e7da7880fc00731c28beb4bb2 Reviewed-by: Peter Hartmann <phartmann@blackberry.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
This commit is contained in:
parent
f79202805e
commit
1bd56022a5
@ -128,6 +128,7 @@ QNetworkReplyNSURLConnectionImplPrivate::QNetworkReplyNSURLConnectionImplPrivate
|
||||
|
||||
QNetworkReplyNSURLConnectionImplPrivate::~QNetworkReplyNSURLConnectionImplPrivate()
|
||||
{
|
||||
[urlConnection cancel];
|
||||
[urlConnection release];
|
||||
[urlConnectionDelegate release];
|
||||
if (readStream)
|
||||
|
Loading…
Reference in New Issue
Block a user