Fixed timer to be stopped onDisabled if it was started

This commit is contained in:
Jason Booth 2011-02-17 09:45:32 -06:00
parent c65da2f717
commit 72166607dc

View file

@ -130,6 +130,11 @@ public class DynmapPlugin extends JavaPlugin {
webServer.shutdown();
webServer = null;
}
if(timer != null) {
timer.cancel();
}
Debug.clearDebuggers();
}