()
| 542 | } |
| 543 | |
| 544 | private abortInProgressLoad(): void { |
| 545 | untracked(() => this.pendingController?.abort(getAbortReason())); |
| 546 | this.pendingController = undefined; |
| 547 | |
| 548 | // Once the load is aborted, we no longer want to block stability on its resolution. |
| 549 | this.resolvePendingTask?.(); |
| 550 | this.resolvePendingTask = undefined; |
| 551 | } |
| 552 | } |
| 553 | |
| 554 | let abortReason: DOMException | undefined; |
no test coverage detected