Feature #4347 » continuation_tracing.patch
| thread.c | ||
|---|---|---|
|
rb_remove_event_hook(call_trace_func);
|
||
|
if (NIL_P(trace)) {
|
||
|
GET_THREAD()->tracing = EVENT_RUNNING_NOTHING;
|
||
|
return Qnil;
|
||
|
}
|
||
| ... | ... | |
|
rb_threadptr_remove_event_hook(th, call_trace_func);
|
||
|
if (NIL_P(trace)) {
|
||
|
th->tracing = EVENT_RUNNING_NOTHING;
|
||
|
return Qnil;
|
||
|
}
|
||
|
thread_add_trace_func(th, trace);
|
||