示例#1
0
        /// <summary>
        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
        /// </summary>
        public override void Dispose()
        {
            Log.Trace("AlpacaBrokerage.Dispose(): Disposing of Alpaca brokerage resources.");

            _aggregator.Dispose();
            _sockClient?.Dispose();
            _polygonStreamingClient?.Dispose();

            _messagingRateLimiter.Dispose();
        }