Skip to content

Exception thrown when closing the app while it has a child window #1872

@AndrewKeepCoding

Description

@AndrewKeepCoding

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

Image

Windows version

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions