diff --git a/src/main/java/cws/k8s/scheduler/scheduler/Scheduler.java b/src/main/java/cws/k8s/scheduler/scheduler/Scheduler.java index 726c4b7..6c2a532 100644 --- a/src/main/java/cws/k8s/scheduler/scheduler/Scheduler.java +++ b/src/main/java/cws/k8s/scheduler/scheduler/Scheduler.java @@ -494,6 +494,7 @@ LinkedList getUpcomingTasksCopy() { public void close(){ watcher.close(); schedulingThread.interrupt(); + finishThread.interrupt(); this.close = true; }