Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.9.2
-
None
-
ebceda0cad6d86f6d6fe5efbf85a3b06fb4222b0
Description
The type loader frequently passes method calls back and forth between its own thread and the main thread. In order to make sure the objects needed by the method calls are not deleted in between, it takes a reference before posting a message to the other thread, and releases that reference once the method has been executed. See for example QQmlTypeLoaderThread::load and QQmlTypeLoaderThread::loadThread to illustrate this. When the QML engine gets deleted, all messages queued by the type loader are dropped. This means the references taken for those messages are never released, and the objects referenced that way can never be deleted anymore.
Attachments
Issue Links
- is required for
-
QDS-33 Make it possible to see the impact of changes to QML files in Qt Creator live in the application on the target device
- Closed