Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.13.1
-
None
-
-
73ad6e87bbeceea5830ab3a6b3dc66fa99e30f45 (qt/qtdeclarative/5.13)
Description
I implemented a custom QQuickItem and created an instance of it in QML.
The item changes change its visual parent to the window's contentItem.
When the application is closed in runs into a deadlock.
The behavior can be prevented by using a Qt::QueuedConnection but I thought, that signals are executed in the main thread so I didn't expect any threading issues here.
Attachments
For Gerrit Dashboard: QTBUG-79573 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
279328,6 | QQuickItem::setParentItem: add child earlier | 5.13 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
279465,2 | QQuickItem::setParentItem: add child earlier | 5.15 | qt/qtdeclarative | Status: MERGED | 0 | 0 |