mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Autofac registrations are not singleton anymore.
This commit is contained in:
parent
3cdff3bb71
commit
f2886d89de
5 changed files with 34 additions and 23 deletions
|
@ -22,12 +22,10 @@ namespace NzbDrone.Common
|
|||
}
|
||||
|
||||
containerBuilder.RegisterAssemblyTypes(apiAssembly)
|
||||
.AsImplementedInterfaces()
|
||||
.SingleInstance();
|
||||
.AsImplementedInterfaces();
|
||||
|
||||
containerBuilder.RegisterAssemblyTypes(apiAssembly)
|
||||
.AsSelf()
|
||||
.SingleInstance();
|
||||
.AsSelf();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue