From: David ‘Bombe’ Roden Date: Tue, 16 Nov 2010 04:51:14 +0000 (+0100) Subject: Stop ticker when web interface is stopped. X-Git-Tag: 0.3-RC1~38 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=5494e5cde35c064b80ebc55f29da22a3348b9fef;p=Sone.git Stop ticker when web interface is stopped. --- diff --git a/src/main/java/net/pterodactylus/sone/web/WebInterface.java b/src/main/java/net/pterodactylus/sone/web/WebInterface.java index 10bacee..5e0a168 100644 --- a/src/main/java/net/pterodactylus/sone/web/WebInterface.java +++ b/src/main/java/net/pterodactylus/sone/web/WebInterface.java @@ -244,6 +244,7 @@ public class WebInterface implements CoreListener { */ public void stop() { unregisterToadlets(); + Ticker.getInstance().stop(); } //