Skip to content

Commit fb4f415

Browse files
authored
Clarify comment
1 parent de61ffd commit fb4f415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataProtection/DataProtection/src/KeyManagement/KeyRingProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ private IKeyRing GetCurrentKeyRingCoreNew(DateTime utcNow, bool forceRefresh)
386386
.ContinueWith(static _ => { }, TaskScheduler.Default)
387387
.Wait();
388388

389-
var newKeyRing = GetKeyRingFromCompletedTask(existingTask, utcNow); // Throws if the task failed
389+
var newKeyRing = GetKeyRingFromCompletedTask(existingTask, utcNow); // Throws if the task failed (winning thread only)
390390
if (newKeyRing is null)
391391
{
392392
// Another thread won - check whether it cached a new key ring

0 commit comments

Comments
 (0)