diff --git a/SecondBotEvents/Services/DiscordService.cs b/SecondBotEvents/Services/DiscordService.cs index 657fdd9..b2331b7 100644 --- a/SecondBotEvents/Services/DiscordService.cs +++ b/SecondBotEvents/Services/DiscordService.cs @@ -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]");