I have an app which uses multiple renderer windows. I’m wondering what would be the right approach to manage the crashes from multiple renderers? The main question is when to reload crashed window only and when to kill the whole app?
I’m thinking about having max number of crashes under some time e.g. 3 times under 15 mins. If crashes, from any renderer (e.g. 1 crash from renderer1 and 2 crashes from renderer2), exceeds the limit then kill the app. Otherwise use webContent.reload() and reload the content of the crashed window only.
What if I set the limit to some higher number e.g. 20 or if I don’t set it at all? Is there any best practice for this?