()
| 766 | list.push(this); |
| 767 | } |
| 768 | close() { |
| 769 | if (!this.#claim) return; |
| 770 | dnssd.unclaim(this.#claim); |
| 771 | this.#list.splice(this.#list.indexOf(this), 1); |
| 772 | this.#claim = undefined; |
| 773 | } |
| 774 | |
| 775 | static { |
| 776 | this.prototype[Symbol.dispose] = this.prototype.close; |