Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Externally owned container is no longer disposed#24

Merged
WilliamBZA merged 1 commit into
release-6.0.0from
dispose-owned-only
Sep 29, 2016
Merged

Externally owned container is no longer disposed#24
WilliamBZA merged 1 commit into
release-6.0.0from
dispose-owned-only

Conversation

@danielmarbach

@danielmarbach danielmarbach commented Sep 23, 2016

Copy link
Copy Markdown
Contributor

Relates to Particular/NServiceBus#4144

Who's affected

All users providing an externally created container into the endpoint configuration.

Symptions

If the externally owned container is disposed all instances marked as IDisposablethat are registered by NServiceBus will be double disposed which can lead to unwanted side effects and endpoints not being able to properly shut down.

@danielmarbach

Copy link
Copy Markdown
Contributor Author

@Particular/container-maintainers please review and merge

// cc @andreasohlund @timbussmann

@WilliamBZA
WilliamBZA merged commit 32d3ab6 into release-6.0.0 Sep 29, 2016
@WilliamBZA
WilliamBZA deleted the dispose-owned-only branch September 29, 2016 06:04
@danielmarbach danielmarbach changed the title Externally owned lifetime scope is no longer disposed Externally owned container is no longer disposed Sep 29, 2016
@danielmarbach danielmarbach added this to the 6.0.0-RC2 milestone Sep 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants