diff --git a/src/main/java/com/guicedee/guicedinjection/JobService.java b/src/main/java/com/guicedee/guicedinjection/JobService.java index 5cc584a..8259d46 100644 --- a/src/main/java/com/guicedee/guicedinjection/JobService.java +++ b/src/main/java/com/guicedee/guicedinjection/JobService.java @@ -36,6 +36,11 @@ public class JobService implements IGuicePreDestroy, IJobService public static final JobService INSTANCE = new JobService(); private static ExecutorService jobCleanup = null; + static + { + jobCleanup = INSTANCE.jobCleanup(); + } + public JobService() { //No config required