Project

General

Profile

Bug #11603 ยป patch.diff

git diff - k0kubun (Takashi Kokubun), 10/19/2015 02:46 PM

View differences:

vm_trace.c
318 318
	}
319 319
	else {
320 320
	    rb_trace_arg_t *prev_trace_arg = th->trace_arg;
321
	    th->vm->trace_running++;
321 322
	    th->trace_arg = trace_arg;
322 323
	    exec_hooks_unprotected(th, &th->event_hooks, trace_arg);
323 324
	    exec_hooks_unprotected(th, &th->vm->event_hooks, trace_arg);
324 325
	    th->trace_arg = prev_trace_arg;
326
	    th->vm->trace_running--;
325 327
	}
326 328
    }
327 329
    else {