Fix null reference when disposing of the bot where Flaresolverr failed like it always does

This commit is contained in:
barelyprofessional
2025-06-27 14:15:55 -05:00
parent 26aa6f1507
commit c7c80bd6e4

View File

@@ -186,7 +186,7 @@ public class BetBolt : IDisposable
public void Dispose() public void Dispose()
{ {
_wsClient.Dispose(); _wsClient?.Dispose();
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }