Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBlanch committed Feb 21, 2024
1 parent 0c974e8 commit 8fc0091
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/OpenTelemetry/Metrics/MetricPoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -830,11 +830,6 @@ internal void TakeSnapshot(bool outputDelta)
}
else
{
// TODO:
// Is this thread-safe way to read double?
// As long as the value is not -ve infinity,
// the exchange (to 0.0) will never occur,
// but we get the original value atomically.
this.snapshotValue.AsDouble = InterlockedHelper.Read(ref this.runningValue.AsDouble);
}

Expand Down

0 comments on commit 8fc0091

Please sign in to comment.