We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c70fab2 + ee7ec72 commit 10df51aCopy full SHA for 10df51a
src/main/java/org/xbib/tools/JDBCImporter.java
@@ -152,6 +152,14 @@ public void run() {
152
logger.error(e.getMessage(), e);
153
} finally {
154
try {
155
+ executorService.shutdown();
156
+ if (!executorService.awaitTermination(15, TimeUnit.SECONDS)) {
157
+ executorService.shutdownNow();
158
159
+ throw new IOException("pool did not terminate");
160
+ }
161
162
+
163
if (context != null) {
164
context.shutdown();
165
context = null;
0 commit comments