- From: Janusz Majnert <j.majnert@samsung.com>
- Date: Thu, 27 Jun 2013 09:50:58 +0200
- To: public-sysapps@w3.org
On 2013-06-27 03:56, Jonas Sicking wrote: > However applyUpdate() is something that probably possibly shouldn't > exist at all (other than internally in the runtime implementation). At > least in FirefoxOS we haven't implemented support for having multiple > versions of an app installed at the same time. Because of that it's > important that an update isn't applied as long as the app is running. > And so applyUpdate() is important that it's only called when it's > guaranteed that the app isn't running. Something which can't be > guaranteed as long as the applyUpdate() function is exposed. I don't understand how it is a problem that an application is running during an update? Isn't it the "industy standard" to terminate an app before an update takes place (or make a user terminate it beforehand). Applications can detect being shut down (via the onterminate handler) at which point they do all the stuff that they would if the user shut them down manually or if the system decided to close them (Android does something like that). /Janusz
Received on Thursday, 27 June 2013 07:51:31 UTC