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:
#some calculations on oneParameter
#long running task using parameters coming from f1 calculations above
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