mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Autofac registrations are not singleton anymore.
This commit is contained in:
@@ -22,12 +22,10 @@ namespace NzbDrone.Common
|
||||
}
|
||||
|
||||
containerBuilder.RegisterAssemblyTypes(apiAssembly)
|
||||
.AsImplementedInterfaces()
|
||||
.SingleInstance();
|
||||
.AsImplementedInterfaces();
|
||||
|
||||
containerBuilder.RegisterAssemblyTypes(apiAssembly)
|
||||
.AsSelf()
|
||||
.SingleInstance();
|
||||
.AsSelf();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user