public void Dispose() { _endFrameTimer?.Change(int.MaxValue, int.MaxValue); _endFrameTimer?.Dispose(); _endFrameTimer = null; _frames = null; _nextPartBeginIndex = -1; _component?.Dispose(); _component = null; }
public ImmediateStreamer(IPlayerImplementer performer) { _component = performer; _component.SongEnded += EndHandler; }