Project

General

Profile

Feature #4347 ยป 192_continuation_tracing.patch

patch for 1.9.2 r30696 - quix (James M. Lawrence), 02/08/2011 04:30 AM

View differences:

thread.c
3933 3933
    rb_remove_event_hook(call_trace_func);
3934 3934

  
3935 3935
    if (NIL_P(trace)) {
3936
	GET_THREAD()->tracing = 0;
3936 3937
	return Qnil;
3937 3938
    }
3938 3939

  
......
3989 3990
    rb_threadptr_revmove_event_hook(th, call_trace_func);
3990 3991

  
3991 3992
    if (NIL_P(trace)) {
3993
	th->tracing = 0;
3992 3994
	return Qnil;
3993 3995
    }
3994 3996
    thread_add_trace_func(th, trace);