On 22/05/2014 20:02, Pipo Koenig wrote:
Thanks, but sorry, I don't get it yet. So the app has to listen to a system message? Which one should that be?
That's something I have to figure out myself :)
And is there a lifecycle event that notifies the app that it is about to be discarded? I'm not shure the window.onclose event would be the right one...
Unfortunately not. Technically the process in which the app runs is killed by the kernel low-memory killer so there's nothing we can do to notify the app that it's about to happen.
I seem to remember that somebody used the alarms API to automatically respawn a dead application but I can't seem to find where I read that right now.
Gabriele _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
