mirror of
https://github.com/wez/wezterm.git
synced 2024-12-27 07:18:13 +03:00
c8c3b8378a
We need to notice when all of the streams associated with a channel are closed and remove the channel from the set that we're polling in the main loop, to avoid continually polling the closed descriptors. Additionally, if the Session has been dropped, we know that we cannot be asked to create any new channels, so if there are no more channels then we can and should exit that dispatch loop and allow the resources to be cleaned up. refs: https://github.com/wez/wezterm/issues/1993#issuecomment-1130539934 |
||
---|---|---|
.. | ||
examples | ||
src | ||
tests | ||
Cargo.toml |