Fixing possible double cancelling issue
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
5e85488d80
Commit
7d4c397809
@ -50,7 +50,8 @@ public abstract class Countdown {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void disable() {
|
public void disable() {
|
||||||
task.cancel();
|
if(!task.isCancelled())
|
||||||
|
task.cancel();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void broadcast(String message){
|
private void broadcast(String message){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren