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

Remove Timeout usage #580

Merged
merged 1 commit into from
Aug 20, 2023
Merged

Remove Timeout usage #580

merged 1 commit into from
Aug 20, 2023

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Aug 14, 2023

Timeout's implementation relies on Thread, which would conflict with ruby/debug's thread-freezing implementation and has casued issues like

This commit avoids the issue by completely removing the use of Timeout.

@st0012 st0012 added the enhancement New feature or request label Aug 14, 2023
@st0012 st0012 requested a review from a team August 14, 2023 13:04
lib/reline/ansi.rb Outdated Show resolved Hide resolved
Timeout's implementation relies on Thread, which would conflict with
`ruby/debug`'s thread-freezing implementation and has casued issues like

- ruby/debug#877
- ruby/debug#934
- ruby/debug#1000

This commit avoids the issue by completely removing the use of Timeout.
@st0012 st0012 requested a review from tompng August 16, 2023 12:46
@tompng tompng merged commit d4f0cd3 into master Aug 20, 2023
@tompng tompng deleted the remove-timeout branch August 20, 2023 10:40
matzbot pushed a commit to ruby/ruby that referenced this pull request Aug 20, 2023
(ruby/reline#580)

Timeout's implementation relies on Thread, which would conflict with
`ruby/debug`'s thread-freezing implementation and has casued issues like

- ruby/debug#877
- ruby/debug#934
- ruby/debug#1000

This commit avoids the issue by completely removing the use of Timeout.

ruby/reline@d4f0cd3fe1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants