()
| 138 | } |
| 139 | |
| 140 | reset () { |
| 141 | // Everything could be reset manually so only |
| 142 | // teardown if we have an initial descriptor left |
| 143 | // and then delete the rest of the stack |
| 144 | if (this.#stack.length) { |
| 145 | this[_setGlobal](this.#stack[0]) |
| 146 | this.#stack.length = 0 |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | [_setGlobal] (d) { |
| 151 | if (this.#isDelete(d)) { |
no outgoing calls
no test coverage detected