From db158664ba3e5c9c8172ff3880d20dff79ecde79 Mon Sep 17 00:00:00 2001 From: Eduardo Pinho Date: Tue, 23 Apr 2024 17:45:51 +0100 Subject: [PATCH] Fix application of task cleaning hook in RunningIndexTasks (#687) --- .../main/java/pt/ua/dicoogle/taskManager/RunningIndexTasks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dicoogle/src/main/java/pt/ua/dicoogle/taskManager/RunningIndexTasks.java b/dicoogle/src/main/java/pt/ua/dicoogle/taskManager/RunningIndexTasks.java index 4de7fe420..9c70500be 100644 --- a/dicoogle/src/main/java/pt/ua/dicoogle/taskManager/RunningIndexTasks.java +++ b/dicoogle/src/main/java/pt/ua/dicoogle/taskManager/RunningIndexTasks.java @@ -74,7 +74,7 @@ public void addTask(String taskUid, Task task) { } public void addTask(Task task) { - taskRunningList.put(task.getUid(), task); + this.addTask(task.getUid(), task); } public boolean removeTask(String taskUid) {