We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I open scopes within scopes (that is tracked by parent), and then disposes the outer/parent scope, then the inner scope is disposed as well.
However the IsDisposed property is still false, despite OwnCurrentScope being disposed.
IsDisposed
OwnCurrentScope
//Arrange var container = new Container(); var outerScope = container.OpenScope("Test", true); var innerScope = outerScope.OpenScope("Test2", true); //act outerScope.Dispose(); //assert Assert.True(innerScope.IsDisposed); // <-- Fails
The text was updated successfully, but these errors were encountered:
@A-Kjeldgaard Oh, interesting catch. I will check, thanks.
Sorry, something went wrong.
edec018
fixed, will be out with v5.4.2
dadhi
No branches or pull requests
If I open scopes within scopes (that is tracked by parent), and then disposes the outer/parent scope, then the inner scope is disposed as well.
However the
IsDisposed
property is still false, despiteOwnCurrentScope
being disposed.The text was updated successfully, but these errors were encountered: