aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qquickworkerscript/data/stressDispose.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qquickworkerscript/data/stressDispose.qml')
-rw-r--r--tests/auto/qml/qquickworkerscript/data/stressDispose.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/qml/qquickworkerscript/data/stressDispose.qml b/tests/auto/qml/qquickworkerscript/data/stressDispose.qml
new file mode 100644
index 0000000000..3e8465d6fe
--- /dev/null
+++ b/tests/auto/qml/qquickworkerscript/data/stressDispose.qml
@@ -0,0 +1,13 @@
+import QtQuick 2.0
+
+Item {
+ WorkerScript {
+ id: worker
+ source: "stressDispose.js"
+ }
+
+ Component.onCompleted: {
+ worker.sendMessage(10);
+ }
+}
+