Skip to content
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

Not all views are removing his subviews upon disposing on both versions. #2967

Closed
BDisp opened this issue Nov 10, 2023 · 0 comments
Closed
Labels

Comments

@BDisp
Copy link
Collaborator

BDisp commented Nov 10, 2023

Add System.Diagnostics.Debug.Assert (InternalSubviews.Count == 0); to the end of the protected override void Dispose (bool disposing) of the View class and will fail on some views.

BDisp added a commit to BDisp/Terminal.Gui that referenced this issue Nov 10, 2023
@tig tig added the bug label Nov 16, 2023
tig added a commit that referenced this issue Nov 16, 2023
…n both versions. (#2968)

Co-authored-by: Tig <tig@users.noreply.github.com>
@tig tig closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants