Skip to content

Commit

Permalink
workaround .net nativeAOT crash (#2943)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind authored Dec 4, 2023
1 parent 1de0b94 commit 175623c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Fixes

- Workaround a .NET 8 NativeAOT crash on transaction finish. ([#2943](https://github.com/getsentry/sentry-dotnet/pull/2943))

### API breaking Changes

#### Changed APIs
Expand Down
2 changes: 1 addition & 1 deletion src/Sentry/TransactionTracer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public IReadOnlyList<string> Fingerprint
/// <inheritdoc />
public IReadOnlyDictionary<string, string> Tags => _tags;

private readonly ConcurrentBag<SpanTracer> _spans = new();
private readonly ConcurrentBag<ISpan> _spans = new();

/// <inheritdoc />
public IReadOnlyCollection<ISpan> Spans => _spans;
Expand Down

0 comments on commit 175623c

Please sign in to comment.