This commit is contained in:
Eugene Sadovoi 2019-05-22 21:21:47 -04:00
Родитель 04f887465f
Коммит 9c7129409c
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -16,8 +16,7 @@ namespace Unity.Registration
if (manager is IDisposable managerDisposable) if (manager is IDisposable managerDisposable)
owner.Context.Lifetime.Add(managerDisposable); owner.Context.Lifetime.Add(managerDisposable);
LifetimeManager = manager; LifetimeManager = manager is TransientLifetimeManager ? null : manager;
//PipelineDelegate = OnResolve;
// Factory resolver // Factory resolver
Pipeline = manager switch Pipeline = manager switch