开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜