mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-01 12:11:20 +00:00
mplex gets a new flag `is_shutdown` to keep track of when `shutdown` has been called. We need to make certain that after the shutdown no more `Sink::poll_complete` or `Sink::start_send` calls are being made which may result in a panic.