tasks: fix active status
This commit is contained in:
@@ -83,6 +83,7 @@ function scheduleTask(appId, taskId, options, onFinished) {
|
||||
return;
|
||||
}
|
||||
|
||||
// percent 1 is relies on the tasks "active" flag to indicate task is queued but not started yet
|
||||
tasks.update(taskId, { percent: 1, message: gStarted ? 'Queued' : 'Waiting for platform to initialize' });
|
||||
gPendingTasks.push({ appId, taskId, options, onFinished });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user