We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e6585a commit 74bc141Copy full SHA for 74bc141
src/OpenTelemetry/Internal/BatchExportTaskWorker.cs
@@ -15,7 +15,7 @@ internal sealed class BatchExportTaskWorker<T> : BatchExportWorker<T>
15
private readonly CancellationTokenSource cancellationTokenSource = new();
16
private readonly SemaphoreSlim exportTrigger = new(0, 1);
17
private readonly TaskCompletionSource<bool> shutdownCompletionSource = new();
18
- private TaskCompletionSource<bool> dataExportedNotification = new();
+ private volatile TaskCompletionSource<bool> dataExportedNotification = new();
19
private Task? workerTask;
20
private bool disposed;
21
0 commit comments