Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.0.2, 5.1.0
-
Ubuntu/Linux 13.04
Description
The below snippet will eat memory every time the timer is triggered. Garbage collection is not acting as a mediator either.
import QtQuick 2.0 Item { width: 400 height: 400 Canvas { id: canvas renderStrategy: Canvas.Immediate anchors.fill: parent onPaint: { } } Timer { running: true interval: 100 repeat: true onTriggered: canvas.getContext("2d").getImageData(0, 0, canvas.width, canvas.height) } }