Skip to content

Conversation

@glbrntt
Copy link
Contributor

@glbrntt glbrntt commented Apr 10, 2025

Motivation:

One of the SelectorTests used an @unchecked Sendable box which did runtime checking of the EventLoop. We have a type for this already, it's called NIOLoopBoundBox, we should use it.

Modifications:

  • Replace Box with NIOLoopBoundBox

Result:

Fewer @unchecked Sendables

Motivation:

One of the SelectorTests used an `@unchecked Sendable` box which did
runtime checking of the `EventLoop`. We have a type for this already,
it's called `NIOLoopBoundBox`, we should use it.

Modifications:

- Replace `Box` with `NIOLoopBoundBox`

Result:

Fewer `@unchecked Sendable`s
@glbrntt glbrntt added the semver/none No version bump required. label Apr 10, 2025
@glbrntt glbrntt requested a review from Lukasa April 10, 2025 08:31
@Lukasa Lukasa merged commit f9fd017 into apple:main Apr 10, 2025
41 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants