11-05-2012 08:02 AM
Hi, we have an application out in the field that terminates unexpectedly. It is usually at the same point but not always. It is very random when it happens and no matter how hard we try cannot re-produce in house. It seems to be mainly on 9360 7.1 devices.
Can anyone offer any help on what causes a webworks app to terminate unexpectedly? No errors or exceptions (code is in a try / catch) are experienced.
11-05-2012 09:08 AM
Without having much information about the app, the only thing that comes to mind is perhaps something is happening that's causing a memory leak. Generally, the app will shutdown at the same point though, when the event that causes the memory issues runs.
11-05-2012 10:33 AM
Thanks for the response Chad. Now begs the question 'what causes a memory leak? !!!
The routine is basically is looping through the DOM to pick out entered information, saving it to local storage and then fireing it back via XHR. It never seems to hit the XHR when it fails, so either it's bombing out when accesing the DOM or when writing to local storage.