diff --git a/KfChatDotNetBot/Services/BetBolt.cs b/KfChatDotNetBot/Services/BetBolt.cs index c476798..da45768 100644 --- a/KfChatDotNetBot/Services/BetBolt.cs +++ b/KfChatDotNetBot/Services/BetBolt.cs @@ -186,7 +186,7 @@ public class BetBolt : IDisposable public void Dispose() { - _wsClient.Dispose(); + _wsClient?.Dispose(); GC.SuppressFinalize(this); } } \ No newline at end of file