Skip to content

Fix memory leak in some plasma components

A few plasma components cache QSGTexture. Those components rely on texture references going away with QSGNode users. However, with the current tear down logic, OffscreenQuickView won't destroy any paint nodes.

Destroy QQuickRenderControl before QQuickWindow to ensure that are no paint nodes left alive after OffscreenQuickView.

BUG: 444429 BUG: 444381 BUG: 444077 BUG: 444306 (cherry picked from commit 64f2cdf9)


created a mr because I had to resolve a merge conflict

Merge request reports