Hi,
I start a long running task by calling an f1 function with one parameter from the actionPerformed event of a button, where the f1 function does the job in this way:
[code]def f1(oneParameter):
#some calculations on oneParameter
def f2():
#long running task using parameters coming from f1 calculations above
system.util.invokeAsynchronous(f2)[/code]
What happens is that if I leave the page that started the long running task swapping to another page, that long running task stops. In my opinion that should not happen, because the long running task is not running in the graphic interface thread. Does that means that some sort of link connects the asynchronous thread to the page object that originated it? I need that long running task to go further, even if the operator swap to another page: any suggestion?
Thanks in advance, regards