paolooo
paolooo

Reputation: 4153

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.

Upvotes: 2

Views: 127

Answers (1)

Nick Desaulniers
Nick Desaulniers

Reputation: 2106

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.

Upvotes: 0

Related Questions