diff --git a/src/main/java/com/sampullara/util/FutureWriter.java b/src/main/java/com/sampullara/util/FutureWriter.java index 07d20ecee..fc41ff4e0 100644 --- a/src/main/java/com/sampullara/util/FutureWriter.java +++ b/src/main/java/com/sampullara/util/FutureWriter.java @@ -52,6 +52,10 @@ public void setWriter(Writer writer) { this.writer = writer; } + public static void shutdown() { + es.shutdownNow(); + } + int total = 0; /**