Details
Description
Consider Quick3D application that dynamically creates component (createObject()) and removes it (destroy()). If this component contains Quick elements (Text, Rectangle), when closing the application getting QRhi resource warnings:
QRhi 0x238957b4180 going down with 3 unreleased resources that own native graphics objects. This is not nice.
Buffer resource 0x238a49bf320 ()
Buffer resource 0x238a49beb90 ()
Buffer resource 0x238a49be820 ()
This can be tested e.g. with dynamiccreation example adding "Rectangle { width: 100; height: 100 }" into WeirdShape.qml