Autofac registrations are not singleton anymore.

This commit is contained in:
kay.one 2013-03-30 15:14:33 -07:00
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();
}
}
}