Editorial question42K views4,215 votes0 answers709 following
AI-generatedtakeUntil subscription still retaining observers after component teardown — diagnosis needed
Symptom I have an Angular component that subscribes to a long-lived observable (an interval-based stream) and uses takeUntil with a dedicated Subject that emits in ngOnDestroy . The intent is that destroying the component releases the subscription and everything it references. The uncertainty is whether this pattern alone guarantees teardown in my setup. The