From eaa8f330eaa337fb65adb17855b469b450736b2c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 5 Mar 2014 06:45:39 +0100 Subject: [PATCH] Use forceful, non-blocking shutdown of thread pool. --- src/main/java/net/pterodactylus/sone/core/Core.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index a2e54a6..0107a22 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -1289,8 +1289,8 @@ public class Core extends AbstractService implements SoneProvider { webOfTrustUpdater.stop(); updateChecker.stop(); soneDownloader.stop(); - soneDownloaders.shutdown(); identityManager.stop(); + soneDownloaders.shutdownNow(); } // -- 2.7.4