summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLuke Gruber <luke.gruber@shopify.com>2025-05-23 13:53:00 -0400
committerJohn Hawthorn <john@hawthorn.email>2025-05-23 16:02:48 -0700
commit2b5a6744407d34ca81cfa91b2b69c13043981f86 (patch)
tree56088124085a369f1ec9bd9dc4472fd71c623e1b /test
parent75b92c5cd6485a6b236101771f571cdf53cbd6a4 (diff)
ractor_wakeup was broken when compiled with USE_RUBY_DEBUG_LOG
The `ractor_wakeup` function takes an optional `th` argument, so it can be NULL. There is a macro call to RUBY_DEBUG_LOG that dereferences `th` without checking if it's NULL first. To fix this, we never dereference `th` in this macro call.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13431
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions