Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash in profiler when span stack switch causes GC run (#2885)
gc_collect_cycles may be intercepted by profiler and when happening precisely within ddtrace_switch_span_stack, the DDTRACE_G(active_span) points to just freed memory. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
- Loading branch information