Speed optimization
This commit is contained in:
Родитель
04f887465f
Коммит
9c7129409c
|
@ -16,8 +16,7 @@ namespace Unity.Registration
|
|||
if (manager is IDisposable managerDisposable)
|
||||
owner.Context.Lifetime.Add(managerDisposable);
|
||||
|
||||
LifetimeManager = manager;
|
||||
//PipelineDelegate = OnResolve;
|
||||
LifetimeManager = manager is TransientLifetimeManager ? null : manager;
|
||||
|
||||
// Factory resolver
|
||||
Pipeline = manager switch
|
||||
|
|
Загрузка…
Ссылка в новой задаче