Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
OnRenderProcessTerminated
OnRenderProcessTerminated
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?
- salvadordf
- Posts: 4563
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: OnRenderProcessTerminated
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
https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2?view=webview2-1.0.1245.22#add_processfailed
Re: OnRenderProcessTerminated
Thanks! this is what you need