update something

This commit is contained in:
z060142 2025-05-17 04:16:36 +08:00
parent f9457bf992
commit 7035aadaa6

View File

@ -1853,10 +1853,8 @@ def run_ui_monitoring_loop(trigger_queue: queue.Queue, command_queue: queue.Queu
print("UI Thread: Resuming monitoring internally after restart wait.") print("UI Thread: Resuming monitoring internally after restart wait.")
monitoring_paused_flag[0] = False monitoring_paused_flag[0] = False
# Clear state to ensure fresh detection after restart # 删除 recent_texts.clear() 和 last_processed_bubble_info = None
recent_texts.clear() print("UI Thread: Monitoring resumed after restart. Duplicate detection state preserved.")
last_processed_bubble_info = None
print("UI Thread: Monitoring resumed and state reset after restart.")
# --- End Internal Sequence --- # --- End Internal Sequence ---
elif action == 'clear_history': # Added for F7 elif action == 'clear_history': # Added for F7