protected virtual void Dispose(bool disposing) { if (disposing) { _webSocketClient.Dispose(); } }
/// <inheritdoc /> public override void Dispose() { processBuffer.Clear(); asks.Clear(); bids.Clear(); if (_restOwner) { _restClient?.Dispose(); } if (_socketOwner) { _socketClient?.Dispose(); } }