Please sign in to comment.
Change the way we resolve consumers when using Autofac. We now use a …
…lifetime scope and resolve the consumers within a new child scope, this ensures that any consumers resolved are then released properly once this child scope is disposed.
- Loading branch information...
Showing with 33 additions and 27 deletions.
- +14 −8 src/Containers/MassTransit.AutoFacIntegration/AutofacConsumerFactory.cs
- +4 −4 src/Containers/MassTransit.AutoFacIntegration/AutofacConsumerFactoryConfigurator.cs
- +11 −11 src/Containers/MassTransit.AutoFacIntegration/AutofacExtensions.cs
- +4 −4 src/Containers/MassTransit.AutoFacIntegration/AutofacSagaRepositoryFactoryConfigurator.cs