Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
デスクトップアプリケーションでXulrunnerExtensionsManagerを使用していますが、再起動する前に通知を受け取りたいのですが。方法はありますか?
(ウィンドウのonclose()メソッドは機能しません。)
"quit-application-requested"または"quit-application"通知のオブザーバーを追加できます。"restart"これがシャットダウンではなく再起動である場合、data パラメータは になります。(通知は、シャットダウンの data パラメータが何であるかによって異なります。"quit-application-requested"passnull中"quit-application"はpass です"shutdown"。)
"quit-application-requested"
"quit-application"
"restart"
null
"shutdown"