Skip to content

Commit

Permalink
Fix apache#16978 AbstractDelayEvent compare method is incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
lile committed Jan 23, 2025
1 parent 8ee1049 commit d9baca0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,10 @@ public void killEventAction(final IWorkflowExecutionRunnable workflowExecutionRu
// there is no task executor now, shouldn't call workflowExecutionGraph.isTaskExecutionRunnableActive()
// it's better to call super.killedEventAction() direct
if (taskExecutionRunnable.isTaskInstanceCanRetry()
// && workflowExecutionGraph.isTaskExecutionRunnableActive(taskExecutionRunnable)
// && workflowExecutionGraph.isTaskExecutionRunnableActive(taskExecutionRunnable)
) {
super.killedEventAction(workflowExecutionRunnable, taskExecutionRunnable, TaskKilledLifecycleEvent.of(taskExecutionRunnable));
super.killedEventAction(workflowExecutionRunnable, taskExecutionRunnable,
TaskKilledLifecycleEvent.of(taskExecutionRunnable));
return;
}
logWarningIfCannotDoAction(taskExecutionRunnable, taskKillEvent);
Expand Down

0 comments on commit d9baca0

Please sign in to comment.