views:

94

answers:

2

Hi all

unfortunately many times the Flash plugin at Google's Chrome crashes. But fortunately, they just present a message box and a sad face.

My question is, how do they do it? my first thought is that they use structured exception handling but then again, how they know its Flash that crashed?

thanks for any ideas! Lior

+5  A: 

Chrome runs plugins in an entirely separate process from the rest of the page.

If the process ever crashes or locks up, then the plugin must be dead.

Anon.
understood - thanks!
Lior
+5  A: 

they run it in a separate process. when the child process terminates, the parent is notified by the operating system. the parent can then query the system about the nature of the termination.

just somebody
got it - thanks!
Lior