committed by
GitHub
parent
6513f9e01f
commit
701fc5fa2c
@ -63,7 +63,7 @@ public class TransientTaskManager {
|
||||
}
|
||||
|
||||
public void cancelMemoryTask(Long taskId) throws JobException {
|
||||
TransientTaskExecutor transientTaskExecutor = taskExecutorMap.get(taskId);
|
||||
TransientTaskExecutor transientTaskExecutor = taskExecutorMap.remove(taskId);
|
||||
if (transientTaskExecutor != null) {
|
||||
transientTaskExecutor.cancel();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user