From 33e2addc03b22ec40ede54fd60379de260a05a47 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Mon, 9 Mar 2026 16:47:55 +0800 Subject: [PATCH] Home_Unloaded --- Wpf_AiSportsMicrospace/Views/Home.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)