diff options
author | Tian Gao <gaogaotiantian@hotmail.com> | 2024-07-19 03:46:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 03:46:24 (GMT) |
commit | eaf094c09b5b1c33435c60ef49b1cec78c32573c (patch) | |
tree | 890c74195b9d4fe533662dc81e59a47feea92bed /Modules/_lsprof.c | |
parent | 7b36b67b1e585c541b418eaa190c56e73f9a2d87 (diff) | |
download | cpython-eaf094c09b5b1c33435c60ef49b1cec78c32573c.zip cpython-eaf094c09b5b1c33435c60ef49b1cec78c32573c.tar.gz cpython-eaf094c09b5b1c33435c60ef49b1cec78c32573c.tar.bz2 |
gh-120289: Add external timer in traverse of _lsprof.Profiler (#121998)
Diffstat (limited to 'Modules/_lsprof.c')
-rw-r--r-- | Modules/_lsprof.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_lsprof.c b/Modules/_lsprof.c index 3dd5f55..8b69062 100644 --- a/Modules/_lsprof.c +++ b/Modules/_lsprof.c @@ -856,6 +856,7 @@ static int profiler_traverse(ProfilerObject *op, visitproc visit, void *arg) { Py_VISIT(Py_TYPE(op)); + Py_VISIT(op->externalTimer); return 0; } |