* Processes the provided runtime. * @param {RuntimeSpec} runtime the runtimes
(runtime)
| 586 | * @param {RuntimeSpec} runtime the runtimes |
| 587 | */ |
| 588 | delete(runtime) { |
| 589 | switch (this._mode) { |
| 590 | case 0: |
| 591 | return; |
| 592 | case 1: |
| 593 | if (runtimeEqual(this._singleRuntime, runtime)) { |
| 594 | this._mode = 0; |
| 595 | this._singleRuntime = undefined; |
| 596 | this._singleValue = undefined; |
| 597 | } |
| 598 | return; |
| 599 | default: |
| 600 | /** @type {RuntimeSpecMapInnerMap<R>} */ |
| 601 | (this._map).delete(getRuntimeKey(runtime)); |
| 602 | } |
| 603 | } |
| 604 | |
| 605 | /** |
| 606 | * Processes the provided runtime. |
nothing calls this directly
no test coverage detected