adjust discord cleanup
This commit is contained in:
parent
62239f48ca
commit
275795a4db
1 changed files with 1 additions and 0 deletions
|
|
@ -613,6 +613,7 @@ namespace SecondBotEvents.Services
|
|||
if (DiscordClient != null)
|
||||
{
|
||||
LogFormater.Info("Discord service [Discord client cleanup]");
|
||||
DiscordClient.Dispose();
|
||||
DiscordClient = null;
|
||||
}
|
||||
LogFormater.Info("Discord service [Stop done]");
|
||||
|
|
|
|||
Loading…
Reference in a new issue