diff --git a/appveyor.yml b/appveyor.yml index 3544617..dbde617 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,5 @@ environment: - build_version: 5.5.2 + build_version: 5.5.3 version: $(build_version)-{build} diff --git a/src/stashbox.extensions.dependencyinjection/StashboxServiceDescriptor.cs b/src/stashbox.extensions.dependencyinjection/StashboxServiceDescriptor.cs index 7fd8b44..160d83c 100644 --- a/src/stashbox.extensions.dependencyinjection/StashboxServiceDescriptor.cs +++ b/src/stashbox.extensions.dependencyinjection/StashboxServiceDescriptor.cs @@ -9,7 +9,7 @@ internal class StashboxServiceDescriptor : ServiceDescriptor public Action ConfigurationAction { get; } - public StashboxServiceDescriptor(Action configurationAction) : base(DescriptorType, DescriptorType) + public StashboxServiceDescriptor(Action configurationAction) : base(DescriptorType, DescriptorType, ServiceLifetime.Transient) { ConfigurationAction = configurationAction; }