### Which version of the app? WinUI 3 Gallery ### Description Steps to reproduce the exception: 1. Run the app on `Debug` mode. 2. Go to the `Multiple windows` page. 3. Click the `Create new Window` button and create a child window. 4. Close the app (the parent window). 5. You'll get the following exception. (See the screenshot below.) ``` Exception thrown at 0x00007FF93701933A in WinUIGallery.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x00000053943ADDA0. ``` Creating a child window by clicking the `Click here to launch the sample` button on the `TabView` page also throws the exception. ### Screenshots  ### Windows version _No response_ ### Additional context _No response_