Project

General

Profile

Feature #4347 ยป continuation_tracing.patch

quix (James M. Lawrence), 01/31/2011 05:32 AM

View differences:

thread.c
4084 4084
    rb_remove_event_hook(call_trace_func);
4085 4085

  
4086 4086
    if (NIL_P(trace)) {
4087
	GET_THREAD()->tracing = EVENT_RUNNING_NOTHING;
4087 4088
	return Qnil;
4088 4089
    }
4089 4090

  
......
4140 4141
    rb_threadptr_remove_event_hook(th, call_trace_func);
4141 4142

  
4142 4143
    if (NIL_P(trace)) {
4144
	th->tracing = EVENT_RUNNING_NOTHING;
4143 4145
	return Qnil;
4144 4146
    }
4145 4147
    thread_add_trace_func(th, trace);