stop previous task explicitly
there is a race: 1. task is running 2. new task is created overwriting the installationState 3. new task kills the old task of step 1. this results in installationState getting overwritten by 'error' because of the sigkill 4. new task that is launched loses the installationState that was step in 2.
This commit is contained in:
@@ -4,6 +4,8 @@ exports = module.exports = {
|
||||
initialize: initialize,
|
||||
uninitialize: uninitialize,
|
||||
|
||||
stopAppTask: stopAppTask,
|
||||
startAppTask: startAppTask,
|
||||
restartAppTask: restartAppTask,
|
||||
|
||||
stopPendingTasks: stopPendingTasks,
|
||||
|
||||
Reference in New Issue
Block a user