Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fixed BaseComponent | release ThemeService #17644

Merged

Conversation

sean-dp
Copy link
Contributor

@sean-dp sean-dp commented Feb 12, 2025

Defect Fixes

Issue 17645

Memory leaks are occurring in all components using BaseComponent because ThemeService was not being released.
As a fix, I modified it to call ThemeService.off within ngOnDestroy.

Copy link

vercel bot commented Feb 12, 2025

Deployment failed with the following error:

Creating the Deployment Timed Out.

@sean-dp sean-dp changed the title fix: Fixed BaseComponent | release Listening ThemeService fix: Fixed BaseComponent | release ThemeService Feb 13, 2025
@sean-dp sean-dp force-pushed the bugfix/basecomponent-memory-leak branch from a85c8d1 to 89c870c Compare February 14, 2025 01:33
@mertsincan mertsincan added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Feb 14, 2025
@cetincakiroglu cetincakiroglu linked an issue Feb 24, 2025 that may be closed by this pull request
4 tasks
@cetincakiroglu cetincakiroglu merged commit d1a2015 into primefaces:master Feb 24, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BaseComponent is causing memory leaks
3 participants