Files
swift-nio/Tests
Johannes Weiss 6e02bf0057 fix #1363: fix race between EL exit and wakeup call (#1364)
Motivation:

The problem that manifested in #1363 was that when we told the EL to exit, it would sometimes exit straight away and sometimes go around its loop one more time and call whenReady, waiting for a wakeup. Previously, we assumed that it would always wait for a wakeup which isn't true.

Modifications:

Offer it a wakeup if it needs to but don't require it.

Result:

fixes #1363
2020-01-29 12:12:38 +00:00
..