Merge pull request #32344 from Sanchit2662/fix/theme-language-selector-memory-leak

fix(core-app-api): fix selector memory leak
This commit is contained in:
Fredrik Adelöw
2026-02-10 10:59:44 +01:00
committed by GitHub
6 changed files with 76 additions and 11 deletions
@@ -0,0 +1,5 @@
---
'@backstage/backend-app-api': patch
---
Fixed memory leak by properly cleaning up process event listeners on backend shutdown.
@@ -0,0 +1,5 @@
---
'@backstage/core-app-api': patch
---
Fixed memory leak caused by duplicate `AppThemeSelector` instances and missing cleanup in `AppThemeSelector` and `AppLanguageSelector`. Added `dispose()` method to both selectors for proper resource cleanup.