(execution: PendingExecutionClaim)
| 597 | } |
| 598 | |
| 599 | private releaseExecutionClaim(execution: PendingExecutionClaim): void { |
| 600 | if (execution.phase !== 'pending' && execution.phase !== 'attached') return; |
| 601 | if (execution.phase === 'attached' && execution.stopIntent) { |
| 602 | this.settleStoppedAttachedExecution(execution); |
| 603 | return; |
| 604 | } |
| 605 | execution.phase = 'released'; |
| 606 | this.settleExecutionClaim(execution, { ok: true }); |
| 607 | } |
| 608 | |
| 609 | private settleExecutionClaim( |
| 610 | execution: PendingExecutionClaim, |
no test coverage detected