How does Chrome knows when Flash crashed?
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 the开发者_如何学Pythonn again, how they know its Flash that crashed?
thanks for any ideas! Lior
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.
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.
精彩评论