mrpmorris / Fluxor

Fluxor is a zero boilerplate Flux/Redux library for Microsoft .NET and Blazor.
MIT License
1.24k stars 141 forks source link

Must remove IDisposable from transient classes #271

Closed mrpmorris closed 2 years ago

mrpmorris commented 2 years ago

This is due to the fact that Microsoft Dependency injection holds on to a reference to everything that implements IDisposable, so when we new-up instances that are transient they never get garbage collected.

https://github.com/dotnet/runtime/issues/66483