简体   繁体   中英

Firefox OS: Callback before app terminates

Is there a callback function in Firefox OS before it crashes the whole app? because I want to send a crash report.

No, the linux kernel will send a kill signal to apps when memory pressure occurs. We don't/can't expose this to JavaScript. See this page for info on debugging if your app is running out of memory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM