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. #