Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Do I need to abort/close pending QNetworkReply?

$
0
0
In my class I start a HTTP request and wonder if I need to abort/close the QNReply instance that has still not reported an error or data available? class MyClass { void request() {   auto reply = QNAM->request(); } } Would I have to store the reply in a member var and call its close/abort method in MyClass() dtor?

Viewing all articles
Browse latest Browse all 13965