MCPcopy Create free account
hub / github.com/apache/maka / releaseMessage

Method releaseMessage

packages/runtime/src/runtime-kernel.ts:3654–3662  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3652 }
3653
3654 releaseMessage(): void {
3655 if (!this.messageOwner || this.messageReleased) return;
3656 this.messageReleased = true;
3657 try {
3658 this.messageOwner.release();
3659 } catch (error) {
3660 throw runtimeOwnerCleanupFailure(`Message owner release failed for ${this.run.runId}`, error);
3661 }
3662 }
3663
3664 private settleReservedExecution(outcome: ExecutionClaimOutcome): void {
3665 if (this.reservedExecutionSettled) return;

Callers 5

failStartMethod · 0.95
compactSessionClaimedMethod · 0.80
runAgentTurnMethod · 0.80
runAgentContinuationMethod · 0.80

Calls 2

releaseMethod · 0.65

Tested by

no test coverage detected