Skip to content

Conversation

@ivanpfeff
Copy link

See title, the idea here is to remove the LifetimeScope from the OwinContext.Environment so that it is no longer referenced and can be garbage collected earlier.

This PR is to resolve the issue filed here.

Copy link
Member

@alistairjevans alistairjevans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks. Just one remarks comment block to remove and we're good to go!

Copy link
Member

@alistairjevans alistairjevans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory Leak Due to ThreadLocalStorage / ConcurrentBag / LifetimeScope Behavior in Owin

2 participants