Skip to content

Commit b48b822

Browse files
committed
Releasing 5.8.13
1 parent 818fac7 commit b48b822

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

package.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<Version>5.8.12</Version>
4+
<Version>5.8.13</Version>
55
<PackageReleaseNotes>This package is compatible with .NET Standard 1.0 and 2.0, .NET Core 1.0 and 2.0, .NET 4.0, 4.5, 4.6, 4.7</PackageReleaseNotes>
66
</PropertyGroup>
77

src/UnityContainer.Registration.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ public IUnityContainer RegisterType(Type typeFrom, Type typeTo, string name, Lif
5555
var container = (lifetimeManager is ISingletonLifetimePolicy) ? _root : this;
5656
var registration = new ContainerRegistration(typeFrom, name, typeTo, lifetimeManager);
5757

58-
if (lifetimeManager is SingletonLifetimeManager || lifetimeManager is ContainerControlledLifetimeManager)
59-
{
60-
registration.Set(typeof(IBuildPlanPolicy), new ObjectBuilder.BuildPlan.ConstructorInvoke.ConstructorInvokeBuildPlan());
61-
}
62-
6358
// Add or replace existing
6459
var previous = container.Register(registration);
6560
if (previous is ContainerRegistration old &&

0 commit comments

Comments
 (0)