Details
Description
The httpThread is set to delete like this :
QObject::connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater()));
Then in the destructor of QNetworkAccessManagerPrivate quit is called on the thread.
This will make the thread emit finished, but we never return to the eventloop so the deletion is never done.
The attached application can be used to reproduce.
Attachments
For Gerrit Dashboard: QTBUG-25487 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
28648,2 | QNetworkAccessManager: delete the httpThread | master | qt/qtbase | Status: MERGED | +2 | 0 |