Skip to content

Commit fba83e3

Browse files
committed
missing VT consumption
1 parent 902ebec commit fba83e3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/StackExchange.Redis/ServerEndPoint.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,8 @@ internal ValueTask WriteDirectOrQueueFireAndForgetAsync<T>(PhysicalConnection? c
935935
{
936936
return Awaited(result);
937937
}
938+
// Must consume the ValueTask even on success path
939+
result.GetAwaiter().GetResult();
938940
}
939941
return default;
940942
}

0 commit comments

Comments
 (0)