docs(core): tidy held report comment

This commit is contained in:
Kit Langton
2026-11-04 17:37:23 -08:00
Unverified
parent 5cea753106
commit 89e86ec501
@@ -79,8 +79,7 @@ export const make = (deps: Deps) => {
const report = Effect.fnUntraced(function* (sessionID: SessionSchema.ID, outcome: Outcome, snap: Snapshot) {
// Shutdown keeps the claim, and restart owns the report that resumes it.
if (outcome.type === "interrupted" && outcome.reason === "shutdown") return
// Every settlement decides afresh; a period that holds again re-adds the child below. This
// returns true for the period that releases an earlier hold.
// Every settlement decides afresh; a period that holds again re-adds the child below.
held.delete(sessionID)
const child = yield* deps.store.get(sessionID)
if (!child?.parentID) return