UseLinux Many GrapheneOS releases ago, on a 3a, I had a couple random shutdowns after using the camera, which I don't do often. Once I found the phone still running but warm.
Since then when I'm done using the camera I explicitly shut down the app. I've had no more random shutdowns. On the other hand, all of the software is different and so is the phone, so maybe by now I'm merely acting on a superstition.