How to detect process exit

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

How to detect process exit

Postby silver » Tue Mar 24, 2015 2:16 am

When testing my application in visual studio 2010
I often have to force quit the application by pressing Shift + F5 (So call to cefshutdown is skipped)

But one instance of the process keeps running in the background, which i guess is the renderer process.
How do I close that other process.

Is there some way for the other process to know that the main process has been closed forcibly and that it should also quit.
Like a event or something ?
User avatar
silver
Techie
 
Posts: 48
Joined: Tue Feb 24, 2015 5:39 am

Re: How to detect process exit

Postby magreenblatt » Tue Mar 24, 2015 11:01 am

What CEF version? If you quit normally instead of terminating with the debugger all child processes should exit.
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 21 guests