lock for platform start, so that apps are not installed in between

This commit is contained in:
Girish Ramakrishnan
2017-11-28 23:18:43 -08:00
parent 693bc094cc
commit 459314df17
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -15,6 +15,7 @@ util.inherits(Locker, EventEmitter);
// these are mutually exclusive operations
Locker.prototype.OP_BOX_UPDATE = 'box_update';
Locker.prototype.OP_PLATFORM_START = 'platform_start';
Locker.prototype.OP_FULL_BACKUP = 'full_backup';
Locker.prototype.OP_APPTASK = 'apptask';
Locker.prototype.OP_MIGRATE = 'migrate';