Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

downgrade 'schedule after shutdown' to printing error #1454

Merged
merged 1 commit into from
Mar 18, 2020

Conversation

weissi
Copy link
Member

@weissi weissi commented Mar 18, 2020

Motivation:

Since #1395, we crash when something is scheduled to an already shutdown
EventLoop. That's a good intent (#1383) but we feel it's a little too
risky right now.

Modifications:

Print an ERROR instead of just crashing.

Result:

Fewer crashes.

Motivation:

Since apple#1395, we crash when something is scheduled to an already shutdown
EventLoop. That's a good intent (apple#1383) but we feel it's a little too
risky right now.

Modifications:

Print an ERROR instead of just crashing.

Result:

Fewer crashes.
@weissi weissi force-pushed the jw-downgrade-crash branch from 6bc8be6 to d2d9f8c Compare March 18, 2020 17:24
@weissi weissi added the 🔨 semver/patch No public API change. label Mar 18, 2020
@Lukasa Lukasa merged commit bd4df32 into apple:master Mar 18, 2020
@weissi weissi deleted the jw-downgrade-crash branch March 18, 2020 18:42
pull bot pushed a commit to scope-demo/swift-nio that referenced this pull request Mar 18, 2020
Motivation:

Since apple#1395, we crash when something is scheduled to an already shutdown
EventLoop. That's a good intent (apple#1383) but we feel it's a little too
risky right now.

Modifications:

Print an ERROR instead of just crashing.

Result:

Fewer crashes.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants