Start the Sone downloader, otherwise it can not be stopped on shutdown.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 15 Oct 2010 14:25:09 +0000 (16:25 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 15 Oct 2010 14:25:09 +0000 (16:25 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index 03c036a..594a4ac 100644 (file)
@@ -107,6 +107,7 @@ public class Core extends AbstractService {
        public Core freenetInterface(FreenetInterface freenetInterface) {
                this.freenetInterface = freenetInterface;
                soneDownloader = new SoneDownloader(freenetInterface);
+               soneDownloader.start();
                return this;
        }