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

[Bug] Probable memory leak #220

Open
sejerpz opened this issue Mar 13, 2024 · 0 comments
Open

[Bug] Probable memory leak #220

sejerpz opened this issue Mar 13, 2024 · 0 comments
Labels
Bug Something isn't working Triage Issue needs to be triaged

Comments

@sejerpz
Copy link

sejerpz commented Mar 13, 2024

Describe the bug
In my application, jetbrains dotMemory report a leak by fluent validation. I'm not sure if FluentValidator is the only cause, but I see that it subscribes to EditContext OnValidationRequested and OnFieldChanged and it doesn't unsubscribe on component dispose.

To Reproduce
Use the application wich use fluent validation with an EditContext

Expected behavior
Expect all resources freed

Hosting Model (is this issue happening with a certain hosting model?):

  • Blazor Server

Additional context
FluentValidationValidator version 2.1.0

FluenValidationLeak

@sejerpz sejerpz added Bug Something isn't working Triage Issue needs to be triaged labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant