Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically close raw fd when finished using #383

Merged
merged 1 commit into from Feb 22, 2020

Conversation

sophiajt
Copy link
Contributor

Getting the terminal size will leak a file descriptor currently. (#382)

This uses the auto-closing logic to avoid this issue.

Copy link
Member

@TimonPost TimonPost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops, thanks!

@TimonPost TimonPost merged commit 0070638 into crossterm-rs:master Feb 22, 2020
@sophiajt sophiajt deleted the fix_raw_rd branch February 22, 2020 10:43
compenguy added a commit to compenguy/panharmonicon that referenced this pull request Mar 4, 2020
Downgrading cursive because it forces
(gyscos/cursive#432) upgrading to a version of
crossterm that leaks filehandles rapidly enough to reach the process
limit in a few minutes
(crossterm-rs/crossterm#383).
fdehau pushed a commit to fdehau/tui-rs that referenced this pull request Mar 12, 2020
This will prevent [this](crossterm-rs/crossterm#383)
descriptor leak bug when people use the crossterm backend with the current
master.
sayanarijit pushed a commit to ratatui-org/ratatui that referenced this pull request Mar 3, 2023
This will prevent [this](crossterm-rs/crossterm#383)
descriptor leak bug when people use the crossterm backend with the current
master.
december1981 pushed a commit to december1981/crossterm that referenced this pull request Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants