From: David ‘Bombe’ Roden <bombe@pterodactylus.net>
Date: Fri, 15 Oct 2010 14:25:09 +0000 (+0200)
Subject: Start the Sone downloader, otherwise it can not be stopped on shutdown.
X-Git-Tag: 0.1-RC1~332
X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=428cd3e0c099e3c065d53178b8cd9820938f646b;p=Sone.git

Start the Sone downloader, otherwise it can not be stopped on shutdown.
---

diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java
index 03c036a..594a4ac 100644
--- a/src/main/java/net/pterodactylus/sone/core/Core.java
+++ b/src/main/java/net/pterodactylus/sone/core/Core.java
@@ -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;
 	}