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

Fix possible fiber self-call in recycleFiber #376

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

s-ludwig
Copy link
Member

@s-ludwig s-ludwig commented Dec 19, 2023

Fiber.shutdown() calls Fiber.call(), which will crash if the caller is the same fiber. This now lets the fiber exit itself directly if there is no space for recycling. Regression introduced by e877c5b.

Fiber.shutdown() calls Fiber.call(), which will crash if the caller is the same fiber. This now lets the fiber exit itself directly if there is no space for recycling.
@s-ludwig
Copy link
Member Author

Merging without additional review for now, as this is an important hotfix.

@s-ludwig s-ludwig merged commit 0fd4070 into master Dec 19, 2023
12 checks passed
@s-ludwig s-ludwig deleted the fix_fiber_recycle_crash branch December 19, 2023 15:32
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.

1 participant