Shut the logger down when the plugin is terminated.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 13 Oct 2010 09:58:36 +0000 (11:58 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 13 Oct 2010 09:58:36 +0000 (11:58 +0200)
src/main/java/net/pterodactylus/sone/main/SonePlugin.java

index c7afdd0..7ac2c83 100644 (file)
@@ -157,6 +157,9 @@ public class SonePlugin implements FredPlugin, FredPluginL10n, FredPluginBaseL10
                core.stop();
 
                /* TODO wait for core to stop? */
+
+               /* shutdown logger. */
+               Logging.shutdown();
        }
 
        //