I am trying to use WorkerScript
for loading list model elements in QML.
But how can we stop WorkerScript
once we are done with the update;
is there any way of destroying or stopping the WorkerScript
?
Asked
Active
Viewed 678 times
5

James Webster
- 31,873
- 11
- 70
- 114

kbalar
- 359
- 2
- 5
- 16
1 Answers
0
I think the worker script will stop as soon as it finishes executing.

RajaRaviVarma
- 2,502
- 25
- 26
-
Since `XMLHttpRequest.onTimeout` apparently doesn't work in WorkerScripts, couldn't it in principle run forever? – tanghus Sep 04 '19 at 21:52
-
1@tanghus I haven't used WorkerScript in a long time. I will get back with more details after reading some information about it. – RajaRaviVarma Sep 05 '19 at 07:14