From 3e681c1121b6ee9b4a073f2f91afbf0143c1f85a Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Thu, 26 Nov 2026 08:02:39 +0000 Subject: [PATCH] docs(profiling): Fix stale comment referencing removed `start_profiling` --- sentry_sdk/profiler/continuous_profiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry_sdk/profiler/continuous_profiler.py b/sentry_sdk/profiler/continuous_profiler.py index 0d58f65c92..1b9c84a0e1 100644 --- a/sentry_sdk/profiler/continuous_profiler.py +++ b/sentry_sdk/profiler/continuous_profiler.py @@ -319,7 +319,7 @@ def _sample_stack(*args: "Any", **kwargs: "Any") -> bool: # Move the new profiles into the active_profiles set. # # We cannot directly add the to active_profiles set - # in `start_profiling` because it is called from other + # in `auto_start` because it is called from other # threads which can cause a RuntimeError when it the # set sizes changes during iteration without a lock. #