public virtual void Dispose() { _controller = null; if (_scheduler != null) { _scheduler.Dispose(); } }
public void Dispose() { if (_scheduler != null) { _scheduler.Dispose(); _scheduler = null; } _controller = null; _routine = null; }
public void Dispose() { if (_scheduler != null) { _scheduler.Dispose(); _scheduler = null; } if (_state != null) { _state.OnStop(); } _controller = null; _state = null; }