Skip to content

Commit eaf094c

Browse files
gh-120289: Add external timer in traverse of _lsprof.Profiler (#121998)
1 parent 7b36b67 commit eaf094c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/_lsprof.c

+1
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,7 @@ static int
856856
profiler_traverse(ProfilerObject *op, visitproc visit, void *arg)
857857
{
858858
Py_VISIT(Py_TYPE(op));
859+
Py_VISIT(op->externalTimer);
859860
return 0;
860861
}
861862

0 commit comments

Comments
 (0)