Skip to content

Fix: return thread to pool after scheduler shutdown [fixup #15885]#16750

Merged
straight-shoota merged 4 commits intocrystal-lang:masterfrom
ysbaddaden:fix/return-thread-to-pool-after-after-scheduler-shutdown
Mar 22, 2026
Merged

Fix: return thread to pool after scheduler shutdown [fixup #15885]#16750
straight-shoota merged 4 commits intocrystal-lang:masterfrom
ysbaddaden:fix/return-thread-to-pool-after-after-scheduler-shutdown

Conversation

@ysbaddaden
Copy link
Copy Markdown
Collaborator

Fixes #16676.

@ysbaddaden ysbaddaden self-assigned this Mar 17, 2026
@ysbaddaden ysbaddaden added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:runtime topic:multithreading labels Mar 17, 2026
Comment thread src/fiber/execution_context/parallel/scheduler.cr Outdated
@straight-shoota straight-shoota added this to the 1.20.0 milestone Mar 20, 2026
@ysbaddaden ysbaddaden moved this from Review to Approved in Multi-threading Mar 20, 2026
@straight-shoota straight-shoota merged commit 725f1e5 into crystal-lang:master Mar 22, 2026
60 of 61 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Done in Multi-threading Mar 22, 2026
@ysbaddaden ysbaddaden deleted the fix/return-thread-to-pool-after-after-scheduler-shutdown branch March 22, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:multithreading topic:stdlib:runtime

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Crash when shrinking a parallel execution context

2 participants