fix: add missing status change notification in waitForPattern to prevent race condition

This commit is contained in:
Roo Code 2025-11-16 11:08:42 +00:00
parent 228c014986
commit d9c8b46fc4

View file

@ -756,6 +756,7 @@ async function waitForPattern(
if (regex.test(allLogs)) {
serviceHandle.status = "ready"
serviceHandle.readyAt = Date.now()
ServiceManager.notifyStatusChange(serviceHandle)
clearInterval(checkInterval)
resolve()
return