Remove debug code

This commit is contained in:
Vankka 2023-07-21 17:59:41 +03:00
parent 9aa7291f26
commit cb5392fb81
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0

View File

@ -576,23 +576,6 @@ public abstract class AbstractDiscordSRV<B extends IBootstrap, C extends MainCon
@OverridingMethodsMustInvokeSuper
protected void disable() {
scheduler().run(() -> {
System.out.println(1);
try {
Thread.sleep(500000);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
});
scheduler().run(() -> {
System.out.println(2);
try {
Thread.sleep(500000);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
});
Status status = this.status.get();
if (status == Status.INITIALIZED || status.isShutdown()) {
// Hasn't started or already shutting down/shutdown