0

I have been looking around the chromium embedded framework docs and cannot find any obvious solution.

What is the recommended way for the parent process (CEFProject.exe) to terminate if a sub-process is terminated (CefSharp.BrowserSubProcess.exe).

I have found an approach to do terminate the child processes when the parent process is shut-down here, but not the other way round.

Any suggestions would be appreciated.

Community
  • 1
  • 1
samb90
  • 1,063
  • 4
  • 17
  • 35
  • 1
    If you look at the `CEF API` you will see there is a method called ` CefRequestHandler::OnRenderProcessTerminated` http://magpcss.org/ceforum/apidocs3/projects/(default)/CefRequestHandler.html#OnRenderProcessTerminated(CefRefPtr%3CCefBrowser%3E,TerminationStatus) which maps to `IRequestHandler.OnRenderProcessTerminated`, search the source if you need an example. – amaitland Jun 16 '16 at 08:05
  • I don't believe there us a notification for when the `GPU` process is terminated, you can of course disable the `GPU` and their won't be a `GPU` process. – amaitland Jun 16 '16 at 08:06

0 Answers0