Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.0
-
None
Description
import QtQuick 2.2 QtObject { id: root property Component component: QtObject { // The component must have an inner object to trigger the crash. property var innerObject: QtObject { // The inner object must have an onDestruction handler to trigger the crash. Component.onDestruction: {} } } property Timer timer: Timer { interval: 10 running: true repeat: true property real count onTriggered: { console.log("Iteration " + (++count)); // Note: if these objects are parented to something (such as root), there's no crash. component.createObject(); // Calling gc() explicitly triggers the crash more quickly, but it also crashes // if the gc is invoked automatically. gc(); } } }