worst bug with visual orchestration

This commit is contained in:
2026-03-06 00:08:10 -05:00
parent 4ce6348978
commit 90a0f93518
3 changed files with 47 additions and 71 deletions

View File

@@ -253,6 +253,12 @@ class App:
try:
self.perf_monitor.start_frame()
# Process GUI task queue
# DEBUG: Check if tasks exist before processing
if hasattr(self, 'controller') and hasattr(self.controller, '_pending_gui_tasks'):
pending_count = len(self.controller._pending_gui_tasks)
if pending_count > 0:
sys.stderr.write(f"[DEBUG gui_2] _gui_func: found {pending_count} pending tasks\n")
sys.stderr.flush()
self._process_pending_gui_tasks()
self._process_pending_history_adds()
self._render_track_proposal_modal()