Skip to content

Conversation

bnickel
Copy link
Contributor

@bnickel bnickel commented Aug 29, 2025

To add support for Windows, #1088 used RunLoop in place of CFRunLoop on systems that can't import CoreFoundation, leading to a moderate amount of code duplication.

On systems that can import CoreFoundation, RunLoop is actually just a wrapper around CFRunLoop, meaning we can remove the duplicated code. The only exception is that _stop isn't exposed and needs to be included using an extension.

Checklist - While not every PR needs it, new features should consider this list:

  • Does this have tests?
  • Does this have documentation?
  • Does this break the public API (Requires major version bump)?
  • Is this a new feature (Requires minor version bump)?

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.

1 participant