Npapi plugin crash in firefox

让人想犯罪 __ 提交于 2019-12-12 01:53:19

问题


I'm writing a npapi plugin can sign pdf document, my plugin worked in chrome, ie but in firefox when my plugin export a dialog as image i can't input anything then my plugin is crashed. Can you tell me why i can't input anything when my plugin call a dialog of windows?


回答1:


From the response to the same question you asked on the firebreath-dev group:

You must never block the main (UI) thread in a plugin. Run your dialog on another thread and it'll probably work.



来源:https://stackoverflow.com/questions/28190743/npapi-plugin-crash-in-firefox

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!