Skip to content

Reject promise returned from end() if session is already ended#1170

Merged
Manishearth merged 1 commit into
mainfrom
reject-end
Feb 5, 2021
Merged

Reject promise returned from end() if session is already ended#1170
Manishearth merged 1 commit into
mainfrom
reject-end

Conversation

@toji

@toji toji commented Feb 5, 2021

Copy link
Copy Markdown
Member

Fixes #1166, matches implemented behavior in browsers.


Preview | Diff

@toji
toji requested a review from Manishearth February 5, 2021 17:41
@Manishearth
Manishearth merged commit c3878b0 into main Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider throwing an InvalidStateError if ended is already true in XRSession end()

2 participants