From: David ‘Bombe’ Roden Date: Wed, 13 Oct 2010 09:58:36 +0000 (+0200) Subject: Shut the logger down when the plugin is terminated. X-Git-Tag: 0.1-RC1~501 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=df67609c4eebc32a728bd35bfb9729a8e63c5bf7;p=Sone.git Shut the logger down when the plugin is terminated. --- diff --git a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java index c7afdd0..7ac2c83 100644 --- a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java +++ b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java @@ -157,6 +157,9 @@ public class SonePlugin implements FredPlugin, FredPluginL10n, FredPluginBaseL10 core.stop(); /* TODO wait for core to stop? */ + + /* shutdown logger. */ + Logging.shutdown(); } //