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.
ractor_wakeup was broken when compiled with USE_RUBY_DEBUG_LOG
The
ractor_wakeup
function takes an optionalth
argument, so it can be NULL.There is a macro call to RUBY_DEBUG_LOG that dereferences
th
without checkingif it's NULL first. To fix this, we never dereference
th
in this macro call.