Skip to content

Commit f7cf1bf

Browse files
authored
Update Objects/object.c
1 parent 5664fd5 commit f7cf1bf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Objects/object.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3289,17 +3289,14 @@ int PyRefTracer_SetTracer(PyRefTracer tracer, void *data) {
32893289
_Py_AssertHoldsTstate();
32903290

32913291
_PyEval_StopTheWorldAll(&_PyRuntime);
3292-
32933292
if (_PyRuntime.ref_tracer.tracer_func != NULL) {
32943293
_PyReftracerTrack(NULL, PyRefTracer_TRACKER_REMOVED);
32953294
if (PyErr_Occurred()) {
32963295
return -1;
32973296
}
32983297
}
3299-
33003298
_PyRuntime.ref_tracer.tracer_func = tracer;
33013299
_PyRuntime.ref_tracer.tracer_data = data;
3302-
33033300
_PyEval_StartTheWorldAll(&_PyRuntime);
33043301
return 0;
33053302
}

0 commit comments

Comments
 (0)