fix(background): prevent double-decrement of descendant quota in processKey error cleanup

This commit is contained in:
YeonGyu-Kim
2026-04-08 17:15:18 +09:00
parent 1cf4119dd4
commit 80c74c8849
2 changed files with 44 additions and 4 deletions
-4
View File
@@ -422,10 +422,6 @@ export class BackgroundManager {
this.concurrencyManager.release(key)
}
if (item.task.rootSessionID) {
this.unregisterRootDescendant(item.task.rootSessionID)
}
removeTaskToastTracking(item.task.id)
// Abort the orphaned session if one was created before the error