public void Dispose() { _endFrameTimer?.Change(int.MaxValue, int.MaxValue); _endFrameTimer?.Dispose(); _endFrameTimer = null; _frames = null; _nextPartBeginIndex = -1; _component?.Dispose(); _component = null; }