Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.12.4, 5.13.0
-
c8827b444c23656f67feee2e3ebd4f2868ab3db7
Description
If removeImageProvider is called for asynchronous image providers at the right time, QML engine might be still using the engine in another thread when it is being destroyed.
QQmlEngine::imageProvider() simply returns a raw pointer and thus removeImageProvider() is able to just destroy the image provider through QSharedPointer.
Attachments
For Gerrit Dashboard: QTBUG-76527 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
265768,10 | QQmlEngine: keep ImageProvider alive while in use | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |