Skip to content

Commit e992cc3

Browse files
[3.13] gh-120289: Add external timer in traverse of _lsprof.Profiler (GH-121998) (#122000)
gh-120289: Add external timer in traverse of _lsprof.Profiler (GH-121998) (cherry picked from commit eaf094c) Co-authored-by: Tian Gao <[email protected]>
1 parent 721a7dd commit e992cc3

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
@@ -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)