MCPcopy Create free account
hub / github.com/codehamr/codehamr / endTurn

Method endTurn

internal/tui/model.go:653–670  ·  view source on GitHub ↗

endTurn zeroes per-turn state after a turn finishes or aborts. Pair to beginTurn. Cancels the per-turn context unconditionally to release the CancelFunc; Background-rooted contexts otherwise leak one child cancelCtx per turn until the process exits. Drops pending tool calls so a turn cut short mid-d

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls

no outgoing calls