Activity overview
Latest activity by jegray12
In MainWindow.xaml.cs, I register for an event that I never unregister from. I would expect there to be a buildup of PopupWindow instances as I open and close the window, but I see no instances in the profiler. private void Button_Click(object sender, RoutedEventArgs e) { TestDataContext data = new TestDataContext(); data.CloseEvent += Window_CloseTestEvent; PopupWindow window = new PopupWindow(data); window.ShowDialog(); } private void Window_CloseTestEvent(object sender, System.EventArgs e) { //if (sender is TestDataContext window) // window.CloseEvent -= Window_CloseTestEvent; } / comments
In MainWindow.xaml.cs, I register for an event that I never unregister from.I would expect there to be a buildup of PopupWindow instances as I open and close the window, but I see no instances in t...
Forgot to mention I am running Version 11.0.0.1816 standard / comments
Forgot to mention I am running Version 11.0.0.1816 standard
I am seeing an issue where an event that is not getting unregistered not shown in profiler
As part of a technical discussion of memory profiling, I purposely added events that were not unregistered in my company's Winforms-WPF application. There was no indication of a memory leak in the ...