Closed mvSapphire closed 1 year ago
Due to the factory being registered as a singleton, it was holding references to objects that were never disposed of.
Added switch with ServiceLifetime to choose a lifetime on demand. By default, lifetime is set as Transient.
Consider register factory with the same lifetime as your steps.
Due to the factory being registered as a singleton, it was holding references to objects that were never disposed of.
Added switch with ServiceLifetime to choose a lifetime on demand. By default, lifetime is set as Transient.
Consider register factory with the same lifetime as your steps.