Ybalrid / OpenXR-API-Layer-Template

A CMake based template repository to create OpenXR layers in C++
MIT License
8 stars 4 forks source link

Internal singleton not reset if layered application create the OpenXR instance multiple times #2

Closed Ybalrid closed 1 year ago

Ybalrid commented 2 years ago

Some apps, like Microsoft Flight Simulator 2020, create and destroy the open xr instance every single time you switch between VR and Desktop mode.

The OpenXRLayer singleton class should be destroyed when xrDestroySession() is called