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: Destroy dialog instance on close to release unused memory #6597

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

YannisJustine
Copy link
Contributor

Defect Fixes

Fix Issue #6535

Explanation

The dialog data was not being destroyed upon closing, leading to unnecessary memory consumption as the object was no longer used. The dialog component wasn't being destroyed even when it was no longer needed.

Solution

Destroy the instance data from the map when it is closed, ensuring that unused memory is released.

Copy link

vercel bot commented Oct 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 5:26pm
primevue-v3 ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 5:26pm

@tugcekucukoglu tugcekucukoglu merged commit 08cb394 into primefaces:master Nov 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DynamicDialog: Underlying dialog not destroyed
2 participants