Skip to content

Commit a2fea93

Browse files
committed
.
1 parent 4856a1c commit a2fea93

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

sentry_sdk/traces.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -556,12 +556,6 @@ def _start_profile(self) -> None:
556556

557557
self._continuous_profile = try_profile_lifecycle_trace_start()
558558

559-
# Typically, the profiler is set when the segment is created. But when
560-
# using the auto lifecycle, the profiler isn't running when the first
561-
# segment is started. So make sure we update the profiler id on it.
562-
if self._continuous_profile is not None:
563-
self._set_profile_id(get_profiler_id())
564-
565559

566560
class NoOpStreamedSpan(StreamedSpan):
567561
__slots__ = (

0 commit comments

Comments
 (0)