mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-02-19 13:21:44 +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.shutdown();
|
||||||
webServer = null;
|
webServer = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(timer != null) {
|
||||||
|
timer.cancel();
|
||||||
|
}
|
||||||
|
|
||||||
Debug.clearDebuggers();
|
Debug.clearDebuggers();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user