New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stack trace to exception that gets thrown when container got disposed. #368

dotnetjunkie opened this Issue Jan 11, 2017 · 0 comments


1 participant

dotnetjunkie commented Jan 11, 2017

When a user calls Register on a Container that was already locked (because of a call to GetInstance for instance), Simple Injector will not only throw an exception explaining that the container was locked; the exception will show the actual stack trace that caused the container to be locked.

We need this same feature when the container throws an ObjectDisposedException.

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