public virtual void Dispose() { _native?.Close(); _native?.Dispose(); _native = null; (Screen as ScreenImpl)?.Dispose(); }
public void Dispose() { _native.Close(); _native.Dispose(); _native = null; }