()
| 678 | } |
| 679 | |
| 680 | unref() { |
| 681 | if (this[kRefed] === true) { |
| 682 | this[kRefed] = false; |
| 683 | if (--immediateInfo[kRefCount] === 0) { |
| 684 | // We need to use the binding as the receiver for fast API calls. |
| 685 | binding.toggleImmediateRef(false); |
| 686 | } |
| 687 | } |
| 688 | return this; |
| 689 | } |
| 690 | |
| 691 | hasRef() { |
| 692 | return !!this[kRefed]; |
no test coverage detected