Fixed timer to be stopped onDisabled if it was started
This commit is contained in:
parent
e1f2ca26d6
commit
77d9a88868
1 changed files with 5 additions and 0 deletions
|
|
@ -130,6 +130,11 @@ public class DynmapPlugin extends JavaPlugin {
|
|||
webServer.shutdown();
|
||||
webServer = null;
|
||||
}
|
||||
|
||||
if(timer != null) {
|
||||
timer.cancel();
|
||||
}
|
||||
|
||||
Debug.clearDebuggers();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue