Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 773785a

Browse files
committedJun 20, 2023
Shutdown resync and reflect executors now in Controller.shutdown
1 parent 95acbee commit 773785a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎util/src/main/java/io/kubernetes/client/informer/cache/Controller.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ public void stop() {
158158
reflectorFuture.cancel(true);
159159
}
160160
}
161-
reflectExecutor.shutdown();
162-
resyncExecutor.shutdown();
161+
reflectExecutor.shutdownNow();
162+
resyncExecutor.shutdownNow();
163163
}
164164

165165
/** returns true if the queue has been resycned */

0 commit comments

Comments
 (0)
Failed to load comments.