diff --git a/Wpf_AiSportsMicrospace/Views/Home.xaml.cs b/Wpf_AiSportsMicrospace/Views/Home.xaml.cs index f942443..a226a24 100644 --- a/Wpf_AiSportsMicrospace/Views/Home.xaml.cs +++ b/Wpf_AiSportsMicrospace/Views/Home.xaml.cs @@ -89,7 +89,7 @@ namespace Wpf_AiSportsMicrospace } private void Home_Unloaded(object sender, RoutedEventArgs e) { - _mainWin.HumanFrameUpdated -= OnHumanFrameUpdated; + //_mainWin.HumanFrameUpdated -= OnHumanFrameUpdated; } private bool IsGestureActive = true; // 标记手势识别是否有效 private void OnHumanFrameUpdated(object sender, List humans)