示例#1
0
                protected override void DisposeManaged()
                {
                    Reset();
                    _candleManager.Processing -= OnProcessCandle;
                    _candleManager.Stop(_series);
                    _candleManager.Dispose();

                    base.DisposeManaged();
                }
示例#2
0
        /// <summary>
        /// Освободить занятые ресурсы.
        /// </summary>
        protected override void DisposeManaged()
        {
            base.DisposeManaged();

            if (CandleManager != null)
            {
                CandleManager.Stop(this);
            }
        }