diff --git a/spring-cloud-task-core/src/main/java/org/springframework/cloud/task/listener/TaskLifecycleListener.java b/spring-cloud-task-core/src/main/java/org/springframework/cloud/task/listener/TaskLifecycleListener.java index dbabb483..8caa5b98 100644 --- a/spring-cloud-task-core/src/main/java/org/springframework/cloud/task/listener/TaskLifecycleListener.java +++ b/spring-cloud-task-core/src/main/java/org/springframework/cloud/task/listener/TaskLifecycleListener.java @@ -56,7 +56,7 @@ import org.springframework.util.StringUtils; * The following events are used to identify the start and end of a task: * *
spring.cloud.task.closecontext.enable (defaults to true).
+ * Also if the context did not start the FailedTask and TaskEnd may not have all the dependencies met.
*
* @author Michael Minella
* @author Glenn Renfro
@@ -132,10 +133,9 @@ public class TaskLifecycleListener implements ApplicationListener