mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 03:05:28 +01:00
Fixed timer to be stopped onDisabled if it was started
This commit is contained in:
parent
e1f2ca26d6
commit
77d9a88868
@ -130,6 +130,11 @@ public class DynmapPlugin extends JavaPlugin {
|
||||
webServer.shutdown();
|
||||
webServer = null;
|
||||
}
|
||||
|
||||
if(timer != null) {
|
||||
timer.cancel();
|
||||
}
|
||||
|
||||
Debug.clearDebuggers();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user