- Add analysisCompletionFlag.startAnalysisCycle() at the beginning of screenshot API - Add analysisCompletionFlag.markAnalysisComplete() at the end of screenshot API - This ensures cleanup system can properly detect when analysis is complete - Fixes issue where cleanup was always skipped due to analysis appearing to still be running - Critical for preventing Chromium process accumulation during screenshot automation The enhanced screenshot API was missing completion flag logic that automation service has, causing cleanup to never trigger properly.
5.7 KiB
5.7 KiB