-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7
-
None
-
796dd2ab8 (dev), 072048f98 (6.7)
property QtObject target: null
Component.onCompleted: {
target?.destroy()
}
qrc:/qt/qml/Truc/Main.qml:11: TypeError: Cannot read property 'destroy' of null
It should not attempt to call destroy and simply return undefined.
This was introduced by https://codereview.qt-project.org/c/qt/qtdeclarative/+/515973