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
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?):
Additional context FluentValidationValidator version 2.1.0