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

Use non-deprecated API for removing handlers #297

Conversation

fabianfett
Copy link
Member

Motivation:

removeHandlers(channel:) was deprecated in NIO 2.32.0.

Modifications:

  • Raise minimum required NIO version to 2.32.0
  • Use removeHandlers(pipeline:)

Result:

We don't use deprecated API.

### Motivation:

removeHandlers(channel:) was deprecated in NIO 2.32.0.

### Modifications:

- Raise minimum required NIO version to 2.32.0
- Use removeHandlers(pipeline:)

### Result:

We don't use deprecated API.
Copy link
Contributor

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Ta!

@fabianfett fabianfett added the 🔨 semver/patch No public API change. label Aug 18, 2021
@fabianfett
Copy link
Member Author

Compiler crashed in main-nightly. This is a non required test. Merging.

@fabianfett fabianfett merged commit 42bdcae into apple:main Aug 18, 2021
@fabianfett fabianfett deleted the ff-use-non-deprecated-api-for-removing-handlers branch August 18, 2021 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants