Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15
-
-
b080877ad2 (qt/tqtc-qtquick3d/5.15)
Description
A customer found there will be memroy leak if View3D is reloaded many times.
Timer{ id: reloadTimer interval: 1000*2 running: true repeat: true property int test: 1 onTriggered: { if(test === 1){ // view3dLoader.sourceComponent = view3dComp view3dLoader.active = true test = 0 } else{ // view3dLoader.sourceComponent = undefined view3dLoader.active = false test = 1 } } } Loader{ id: view3dLoader anchors.fill: parent sourceComponent: view3dComp } Component{ id: view3dComp View3D { anchors.fill: parent camera: camera ... } }
Attachments
Issue Links
- relates to
-
QTBUG-104843 QtQuick 3D leaks memory after destroying View3D
- Closed
-
QTBUG-97714 Memory leak with Quick3D 5.15 when loading Texture with Loader
- Closed