blob: b38a84b4c0df2856e568c0167543049b2a0974ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import QtQuick 2.0
QtObject {
function accessContextProperty() {
for (var i = 0; i < contextProp.stringProperty.length; ++i) ;
}
Component.onCompleted: {
for (var i = 0; i < 1000; ++i)
accessContextProperty();
// Shouldn't cause "Illegal invocation" error.
gc();
}
}
|