Shut down downloader thread pool when stopping the core.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 25 Jan 2013 06:35:43 +0000 (07:35 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 25 Jan 2013 06:35:43 +0000 (07:35 +0100)
src/main/java/net/pterodactylus/sone/core/Core.java

index 33e57c7..7d4441b 100644 (file)
@@ -1942,6 +1942,7 @@ public class Core extends AbstractService implements SoneProvider, PostProvider,
                webOfTrustUpdater.stop();
                updateChecker.stop();
                soneDownloader.stop();
+               soneDownloaders.shutdown();
                identityManager.stop();
        }