Skip to content

Conversation

Lukasa
Copy link
Collaborator

@Lukasa Lukasa commented Feb 17, 2025

Motivation

EmbeddedEventLoop is not thread-safe, which means that outside of very rare use-cases it's not safe to use it in Swift Concurrency.

Modifications

Replace invalid uses of EmbeddedEventLoop with NIOAsyncTestingEventLoop

Result

Better safety

Motivation

EmbeddedEventLoop is not thread-safe, which means that outside
of very rare use-cases it's not safe to use it in Swift Concurrency.

Modifications

Replace invalid uses of EmbeddedEventLoop with NIOAsyncTestingEventLoop

Result

Better safety
@Lukasa Lukasa added 🔨 semver/patch No public API change. semver/none No version bump required. and removed 🔨 semver/patch No public API change. labels Feb 17, 2025
@Lukasa Lukasa merged commit 3b4942f into swift-server:main Feb 17, 2025
24 of 25 checks passed
@Lukasa Lukasa deleted the cb-fix-eel-warnings branch February 17, 2025 15:43
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