App crashing when switching back from another app

The app is crashing intermittently, but quite often. It crashes only when I have already opened it, gone to another app, and then switched back. Is the issue likely in my HRP? If so, can you help me narrow down where to look first? Would that be the onConnect of my plugins?

There are things that you are doing in your project that I’m not particularly wild about. Things that could could certainly crash the application. In general, I recommend avoiding scripting in XAML files. Leave scripting in the plugins. Use Actions instead. Also, avoid long running actions. Specifically, this one you posted the other day is the one that has got me worried.

I doubt it has anything to do with any of your plugins.

Noted. I will start there and report back if I find the offender. Thanks so much.