Set shutdown status

This commit is contained in:
Vankka 2022-03-04 14:00:46 +02:00
parent 54db798e9a
commit f8c5578cb3
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0

View File

@ -421,6 +421,7 @@ public abstract class AbstractDiscordSRV<C extends MainConfig, CC extends Connec
} }
this.status.set(Status.SHUTTING_DOWN); this.status.set(Status.SHUTTING_DOWN);
eventBus().publish(new DiscordSRVShuttingDownEvent()); eventBus().publish(new DiscordSRVShuttingDownEvent());
this.status.set(Status.SHUTDOWN);
} }
@OverridingMethodsMustInvokeSuper @OverridingMethodsMustInvokeSuper