tags:

views:

328

answers:

0

Hi,

We have an application that uses messaging to send real time data to the flex client from .NET (this data is real time status of some devices). I have three different classes that serve real time data of three devices that are connected (this may increase in future). I call these functions when the page is initialized in Flex and when the user switches to another page I do not have any method to stop the thread serving data to the page that was being viewed by the user. Now, the user switches to other page and the other thread also starts serving real time data. This way three threads are running simultaneously. Now the problem arises and the browser (Firefox or IE) crashes after some time reporting an error in the Flash Add on. So, is this problem a cause of three running threads that are serving real time data ? I examined the FluorineFx log and found no error and is there a way to stop a running thread when the user navigates away from a page (raise an event or something).

Any help would be highly appreciated.