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

IDisposable portion of gui-cs/Terminal.Gui#3677 #39

Conversation

dodexahedron
Copy link

This part seems appropriate to be part of your PR, instead of the PR I'll be making for gui-cs/Terminal.Gui/issues/3677 so the overlapping stuff is all in one unit.

Copy link
Author

@dodexahedron dodexahedron left a comment

Choose a reason for hiding this comment

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

Changes in this:

  • Removed IDisposable from RunState
  • Removed code dependent on RunState.Dispose
  • Removed test for RunState.Dispose
  • Turned RunState into a sealed record

Copy link
Owner

@tig tig left a comment

Choose a reason for hiding this comment

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

I love PRs that result in 100s of lines going POOF.

@tig tig merged commit 19548b7 into tig:v2_3675-ObjectDisposedException Aug 22, 2024
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.

2 participants