WebXR arcore_device lifecycle cleanup
OnSessionEnded claimed to be safe to be run repeatedly, but it wasn't quite a no-op. Use VRDeviceBase's session tracking to be clearer about session lifetime, and only do teardown once. This is a speculative fix for DCHECK errors in the linked bug, though I haven't been able to specifically reproduce these. Bug: 1014159 Change-Id: I800f62bee87a1827d57999af12e721ba06fd3c79 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1859832Reviewed-by:Piotr Bialecki <bialpio@chromium.org> Commit-Queue: Klaus Weidner <klausw@chromium.org> Cr-Commit-Position: refs/heads/master@{#705754}
Showing
Please register or sign in to comment