开发者

How does Chrome knows when Flash crashed?

开发者 https://www.devze.com 2022-12-21 00:05 出处:网络
unfortunately many times the Flash plugin at Google\'s Chrome crashes. But fortunately, they just present a message box and a sad face.

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

精彩评论

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