mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-18 00:00:09 +02:00
The global flag remains and is used to prevent duplicated shutdowns and new io operations after shutdown. On shutdown, the driver flips the shutdown flag of every pending io operations and wake them to fail with a shutdown error. Fixes: #5227