Skip to content

Commit 175623c

Browse files
authored
workaround .net nativeAOT crash (#2943)
1 parent 1de0b94 commit 175623c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Fixes
6+
7+
- Workaround a .NET 8 NativeAOT crash on transaction finish. ([#2943](https://github.com/getsentry/sentry-dotnet/pull/2943))
8+
59
### API breaking Changes
610

711
#### Changed APIs

src/Sentry/TransactionTracer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public IReadOnlyList<string> Fingerprint
165165
/// <inheritdoc />
166166
public IReadOnlyDictionary<string, string> Tags => _tags;
167167

168-
private readonly ConcurrentBag<SpanTracer> _spans = new();
168+
private readonly ConcurrentBag<ISpan> _spans = new();
169169

170170
/// <inheritdoc />
171171
public IReadOnlyCollection<ISpan> Spans => _spans;

0 commit comments

Comments
 (0)