Describe the bug
Calling AppInstance.GetInstances() before calling AppInstance.GetCurrent() causes a read access violation.
Steps to reproduce the bug
- Create a new Reunion app.
- in main call AppInstance.GetInstances() before calling AppInstance.GetCurrent().
Expected behavior
No crash.
Version Info
Preview
Additional info
Exception thrown: read access violation.
winrt::Microsoft::Windows::AppLifecycle::implementation::AppInstance::s_current.m_ptr was nullptr.
Describe the bug
Calling AppInstance.GetInstances() before calling AppInstance.GetCurrent() causes a read access violation.
Steps to reproduce the bug
Expected behavior
No crash.
Version Info
Preview
Additional info
Exception thrown: read access violation.
winrt::Microsoft::Windows::AppLifecycle::implementation::AppInstance::s_current.m_ptr was nullptr.