From: David ‘Bombe’ Roden Date: Wed, 5 Mar 2014 05:45:39 +0000 (+0100) Subject: Use forceful, non-blocking shutdown of thread pool. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=eaa8f330eaa337fb65adb17855b469b450736b2c;p=Sone.git Use forceful, non-blocking shutdown of thread pool. --- 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(); } //