Hi All,
I have a long-lived Mojo connection between the renderer process and the browser process. This connection can sometimes be reset unexpectedly (reasons unknown), so the renderer-side disconnect handler contains logic to try and reestablish the connection.
This connection can also be reset when the browser process is terminated (exits or crashes), and I would like to avoid reconnect attempts in that case [1]. Is there any way currently to reliably detect, from the renderer process, if the browser process has terminated?
[1] Side note: I understand that all renderer processes should be automatically terminated when the browser process terminates. However, termination can sometimes be delayed, and we do continue to see zombie processes in the wild, so we can't completely rely on that behavior currently.
Thanks,