Skip to content

[Bug #21400] Fix rb_bug() when killing current root fiber in non-main thread #13526

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

Merged

Conversation

luke-gruber
Copy link
Contributor

Fixes the following:

Thread.new { Fiber.current.kill }.join

… thread

Fixes the following:

```ruby
Thread.new { Fiber.current.kill }.join
```
@ioquatix ioquatix force-pushed the fix_bug_kill_current_fiber_non_main_thread branch from abbf035 to b241a84 Compare June 5, 2025 22:16
@ioquatix ioquatix merged commit 54ef6c3 into ruby:master Jun 6, 2025
82 checks passed
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.

2 participants