Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.15.7, 6.2.1, 6.3
-
8d848811dc (qt/tqtc-qtdeclarative/5.15)
Description
Instantiating the following component leaks a lot of memory, in particular property caches:
import QtQml import QtTest QtObject { id: mouseArea property SignalSpy spy: SignalSpy { signalName: "onObjectNameChanged" target: mouseArea } }
If you switch the property assignments, no memory leaks:
import QtQml import QtTest QtObject { id: mouseArea property SignalSpy spy: SignalSpy { target: mouseArea signalName: "onObjectNameChanged" } }
Attachments
For Gerrit Dashboard: QTBUG-98722 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
383394,5 | Make qmltest/SignalSpy.qml aware of recursive qtest_update() calls | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
383959,2 | Make qmltest/SignalSpy.qml aware of recursive qtest_update() calls | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
385570,4 | V4 Lookup: Do not leak property caches | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |