-1

Application.Exit wont close the process. The UI remains interactive.

Is this because I have cyclic references?

How do I find cyclic references without reasoning about the code?

Tom Huntington
  • 2,260
  • 10
  • 20
  • *"doesn't work"* is not a problem statement. Everything following that is meaningless verbiage. See [ask] and fix the question accordingly. – IInspectable Jun 22 '23 at 14:22

1 Answers1

0

Cyclic references don't affect Application.Exit.

It turns out I was hitting the rough edges of the api by hacking Xaml::Controls::Grid with a combination reusing named xaml components with components created from code behind:

  • Grid.ColumnDefinitions.Append
  • Grid.Children.Append
  • Grid.SetColumnSpan

I broke the first rule of programming: avoid the rough edges

Tom Huntington
  • 2,260
  • 10
  • 20