protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { _liveStream.GraphChanged -= OnGraphChanged; _financialClient.Dispose(); } }
protected override void Dispose(bool disposing) { if (disposing) { _snapshotDataStream.Value.Dispose(); _liveDataStream.Dispose(); _marketDataSnapshotMaster.Remove(_temporarySnapshotUid.Value.ToLatest()); _financialClient.Dispose(); } }