App crashing - stops recording

My Trails.io app has recently started crashing in the middle of the ride. It’s done it 4-5 times in the last few weeks. I’ve been using the app since ~2016 and only remember this happening once or twice since then.

Is there anything I can do to keep it from crashing?