Skip to content

Commit

Permalink
Dispose crash fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
EJocys committed Nov 30, 2021
1 parent 9d02f86 commit 4ae523a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -354,7 +354,7 @@ private void UserControl_Unloaded(object sender, RoutedEventArgs e)
item.Fixed -= Item_Fixed;
}
}
WarningsView.DetachFromSourceCollection();
WarningsView?.DetachFromSourceCollection();
//MainDataGrid.ItemsSource = null;
if (Warnings != null)
{
Expand Down

0 comments on commit 4ae523a

Please sign in to comment.