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

Remove channel closing at shutdown #3685

Merged
merged 2 commits into from
Nov 7, 2024
Merged

Remove channel closing at shutdown #3685

merged 2 commits into from
Nov 7, 2024

Conversation

benclifford
Copy link
Collaborator

LocalChannel, the only extant channel, does not have any close() behaviour.

This is part of #3515 channel removal.

Type of change

  • Code maintenance/cleanup

LocalChannel, the only extant channel, does not have any close()
behaviour.

This is part of #3515 channel removal.
Comment on lines -84 to -89
@abstractmethod
def close(self) -> None:
''' Closes the channel.
'''
pass

Copy link
Collaborator

Choose a reason for hiding this comment

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

This hunk ... is debatable. Channels are going away anyway, so "whatever."

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removing it helps flush out where it was called for the typechecker. sometimes.

my thinking mostly is that I would like to remove all the bits of the base channel class piecewise, eventually leaving an empty class that can be removed.

@benclifford benclifford added this pull request to the merge queue Nov 7, 2024
Merged via the queue into master with commit b092195 Nov 7, 2024
7 checks passed
@benclifford benclifford deleted the benc-3515-no-close branch November 7, 2024 17:08
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