Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Migrate subscription cleanup to takeUntilDestroyed

Chiusa
#551 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@bracyw ci sta già lavorando.

Dal 29/3/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

by: ai dev work frontend
What

Components clean up subscriptions by hand with Subscription[] arrays and ngOnDestroy, and some never clean up at all. Move all of them to takeUntilDestroyed so subscriptions end when the component is destroyed. This also unblocks #798: refcounted storage (#799) can only drop a topic once its subscribers tear down.

Requirements
  • Every manual Subscription[] + ngOnDestroy cleanup uses takeUntilDestroyed instead (29 files on develop)
  • Components that subscribe with no cleanup now use takeUntilDestroyed
  • OnDestroy removed wherever it only existed for subscription cleanup
  • No behavior change; lint, tests and build pass
Notes

Nobody has started this; no branch or PR exists. PR #550 already moved the graph sidebars to toSignal, which is fine where it fits.


Generated by Claude Code

Lingua principale
TypeScript
Stelle
5
Fork
1
Merge medio
2g 14h
PR unite (30g)
51

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Northeastern-Electric-Racing/Argos

Tutte le issue di Northeastern-Electric-Racing/Argos

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.