Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavigationMenuSample C++ DisconnectedException #105

Closed
brotleuchte opened this issue Aug 3, 2015 · 2 comments
Closed

NavigationMenuSample C++ DisconnectedException #105

brotleuchte opened this issue Aug 3, 2015 · 2 comments
Assignees

Comments

@brotleuchte
Copy link

If you want to close the SplitView pane (click on Hamburger) after you clicked an item again (e.g. item 1 -> item 2 -> item 1) the app crashes with an Platform::DisconnectedException:

Exception thrown at 0x75853E28 in NavigationMenu.exe: Microsoft C++ exception: Platform::DisconnectedException ^ at memory location 0x0411D630. HRESULT:0x80010108 Das aufgerufene Objekt wurde von den Clients getrennt.
WinRT information: Das aufgerufene Objekt wurde von den Clients getrennt.
Stack trace:

[External Code]
NavigationMenu.exe!NavigationMenuSample::AppShell::TogglePaneButtonRectChanged::raise(NavigationMenuSample::AppShell ^) Line 41
NavigationMenu.exe!NavigationMenuSample::AppShell::CheckTogglePaneButtonSizeChanged() Line 272
NavigationMenu.exe!NavigationMenuSample::AppShell::TogglePaneButton_Checked(Platform::Object ^ sender, Windows::UI::Xaml::RoutedEventArgs ^ e) Line 250
[External Code]

The c# version runs fine.

@brotleuchte
Copy link
Author

Just found out that it runs fine when starting outside of visual studio. But it's not a solution.

@oldnewthing
Copy link
Member

This will be fixed in our next refresh. Thanks for reporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants