Page 1 of 1

OnRenderProcessTerminated

Posted: Mon Jun 20, 2022 7:10 am
by pushca
During a long run, my program ceases to be responsive in the browser. I think that the browser needs to be checked by calling - OnRenderProcessTerminated , this method was in chrome. Is there something similar here?

Re: OnRenderProcessTerminated

Posted: Mon Jun 20, 2022 8:56 am
by salvadordf
Use the TWVBrowserBase.OnProcessFailed event :
https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2?view=webview2-1.0.1245.22#add_processfailed

Re: OnRenderProcessTerminated

Posted: Mon Jun 20, 2022 8:55 pm
by pushca
Thanks! this is what you need