protected override void DisposeManaged() { Reset(); _candleManager.Processing -= OnProcessCandle; _candleManager.Stop(_series); _candleManager.Dispose(); base.DisposeManaged(); }
/// <summary> /// Освободить занятые ресурсы. /// </summary> protected override void DisposeManaged() { base.DisposeManaged(); if (CandleManager != null) { CandleManager.Stop(this); } }