Skip to content

Commit 4ae2ae0

Browse files
authored
Update Objects/object.c
1 parent 52230d7 commit 4ae2ae0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Objects/object.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3298,10 +3298,7 @@ PyRefTracer PyRefTracer_GetTracer(void** data) {
32983298
if (data != NULL) {
32993299
*data = _PyRuntime.ref_tracer.tracer_data;
33003300
}
3301-
_PyEval_StopTheWorldAll(&_PyRuntime);
3302-
PyRefTracer tracer = _PyRuntime.ref_tracer.tracer_func;
3303-
_PyEval_StartTheWorldAll(&_PyRuntime);
3304-
return tracer;
3301+
return _PyRuntime.ref_tracer.tracer_func;
33053302
}
33063303

33073304

0 commit comments

Comments
 (0)