Project

General

Profile

« Previous | Next » 

Revision 2b5a6744

Added by Luke Gruber about 1 month ago

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.