()
| 110 | private readonly _destroyed = new Subject<void>(); |
| 111 | |
| 112 | constructor() { |
| 113 | const _calendar = this._calendar; |
| 114 | const cdr = inject(ChangeDetectorRef); |
| 115 | |
| 116 | _calendar.stateChanges.pipe(takeUntil(this._destroyed)).subscribe(() => cdr.markForCheck()); |
| 117 | } |
| 118 | |
| 119 | ngOnDestroy() { |
| 120 | this._destroyed.next(); |
nothing calls this directly
no test coverage detected