Closed takahirox closed 4 years ago
The comment tn XRSession.end mentions
XRSession.end
// If this is an immersive session, trigger the platform to end, which // will call the `onPresentationEnd` handler, wrapping this up.
But end event is fired if session is not immersive. I speculate if (!this.immersive) should've been if (this.immersive).
if (!this.immersive)
if (this.immersive)
This PR fixes this bug.
This LGTM
The comment tn
XRSession.end
mentionsBut end event is fired if session is not immersive. I speculate
if (!this.immersive)
should've beenif (this.immersive)
.This PR fixes this bug.