Skip to content

Commit 0403cb4

Browse files
[3.12] gh-120289: Add external timer in traverse of _lsprof.Profiler (GH-121998) (#122001)
gh-120289: Add external timer in traverse of _lsprof.Profiler (GH-121998) (cherry picked from commit eaf094c) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
1 parent 001584d commit 0403cb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/_lsprof.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,7 @@ static int
852852
profiler_traverse(ProfilerObject *op, visitproc visit, void *arg)
853853
{
854854
Py_VISIT(Py_TYPE(op));
855+
Py_VISIT(op->externalTimer);
855856
return 0;
856857
}
857858

0 commit comments

Comments
 (0)