Autofac registrations are not singleton anymore.

This commit is contained in:
kay.one
2013-03-30 15:14:33 -07:00
parent 3cdff3bb71
commit f2886d89de
5 changed files with 34 additions and 23 deletions

View File

@@ -22,12 +22,10 @@ namespace NzbDrone.Common
}
containerBuilder.RegisterAssemblyTypes(apiAssembly)
.AsImplementedInterfaces()
.SingleInstance();
.AsImplementedInterfaces();
containerBuilder.RegisterAssemblyTypes(apiAssembly)
.AsSelf()
.SingleInstance();
.AsSelf();
}
}
}