mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
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