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 e1f2ca26d6
commit 77d9a88868

View File

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