* Remove the given inert root from this inert node's set of managing inert roots. * If the set of managing inert roots becomes empty, this node is no longer inert, * so the object should be destroyed. * @param {InertRoot} inertRoot
(inertRoot)
| 362 | * @param {InertRoot} inertRoot |
| 363 | */ |
| 364 | removeInertRoot(inertRoot) { |
| 365 | this._throwIfDestroyed(); |
| 366 | this._inertRoots.delete(inertRoot); |
| 367 | if (this._inertRoots.size === 0) |
| 368 | this.destructor(); |
| 369 | } |
| 370 | } |
| 371 | |
| 372 | /** |
no test coverage detected