<div dir="ltr"><div><div><div>I have a couple of custom QQuickItems that I'd like to be destroyed before the application exits if they are present in the scene. <br><br></div><div>The ~QQuickItem() destructors aren't called unless I explicitly call <br>

</div>    delete myQQuickView;<br><br></div>I call delete from the main thread, but I'm worried about what goes on with the scene graph rendering thread when I do this. Is deleting QQuickView from the main thread safe? If not, is there a way of stopping all rendering activity so I can delete QQuickView safely?<br>

<br><br><br></div>Preet<br></div>