Open jspuij opened 5 years ago
I have a feeling this will be too difficult to untangle without MASSIVE changes to the codebase. It sucks, but this was written in 2014, so we're stuck with it for now. I definitely want this to be a major priority for v2, thought.
Since the Microsoft DI framework does not check for lifetime issues, there are a lot of them in the code base.
It boils down to longer-lifetime objects holding references to shorter living objects.
E.G. a singleton holding a reference to an object that has a transient lifetime.