ScheduledExecutorService using try-with-resources not working
I am using Spring on Java 21 and I am using ScheduledExecutorService to schedule some events, on executing the below code without try-with-resources it runs fine
I am using Spring on Java 21 and I am using ScheduledExecutorService to schedule some events, on executing the below code without try-with-resources it runs fine