1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-24 14:45:49 +00:00

Fixed timing issue in query response processing

This commit is contained in:
Jkorf
2025-08-07 14:15:18 +02:00
parent 4a9058fc1c
commit 40977ebdbe
+1 -3
View File
@@ -188,10 +188,7 @@ namespace CryptoExchange.Net.Sockets
CurrentResponses++;
if (CurrentResponses == RequiredResponses)
{
Completed = true;
Response = message.Data;
}
if (Result?.Success != false)
// If an error result is already set don't override that
@@ -199,6 +196,7 @@ namespace CryptoExchange.Net.Sockets
if (CurrentResponses == RequiredResponses)
{
Completed = true;
_event.Set();
if (ContinueAwaiter != null)
await ContinueAwaiter.WaitAsync().ConfigureAwait(false);