From 8331123b426cb7b025ef53bf39b524525e9a7847 Mon Sep 17 00:00:00 2001 From: Curtis Rueden Date: Fri, 22 Nov 2024 15:58:37 -0600 Subject: [PATCH] Archives: clean up unzip's executor service --- src/main/java/org/scijava/launcher/Archives.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/scijava/launcher/Archives.java b/src/main/java/org/scijava/launcher/Archives.java index 6726b83..a7826d3 100644 --- a/src/main/java/org/scijava/launcher/Archives.java +++ b/src/main/java/org/scijava/launcher/Archives.java @@ -90,6 +90,9 @@ public static Future unzip(File file, File destDir, Consumer outpu } } } + finally { + executor.shutdown(); + } return null; }); }