Skip to content

Commit

Permalink
[SRE] Changing the conditions to stop a task.
Browse files Browse the repository at this point in the history
  • Loading branch information
ngaud committed Feb 10, 2020
1 parent ee97929 commit 8876b0a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -291,7 +291,7 @@ skill SchedulesSkill extends Skill implements InternalSchedules {
}
if (description !== null) {
var future = description.future
if (future !== null && !future.done && !future.cancelled) {
if (future !== null && registered && !future.done && !future.cancelled) {//TODO could have a problem here
throw new IllegalStateException(Messages::SchedulesSkill_2)
}
} else {
Expand Down

0 comments on commit 8876b0a

Please sign in to comment.