From 6cb6cd6b11928aaaadfe90c0a809601a6ccbd0a0 Mon Sep 17 00:00:00 2001 From: Jkorf Date: Thu, 3 Oct 2024 16:33:00 +0200 Subject: [PATCH] Note --- CryptoExchange.Net/Sockets/SocketConnection.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CryptoExchange.Net/Sockets/SocketConnection.cs b/CryptoExchange.Net/Sockets/SocketConnection.cs index 3e696fd..fd0fbdf 100644 --- a/CryptoExchange.Net/Sockets/SocketConnection.cs +++ b/CryptoExchange.Net/Sockets/SocketConnection.cs @@ -506,8 +506,11 @@ namespace CryptoExchange.Net.Sockets } if (processor is Subscription subscriptionProcessor && !subscriptionProcessor.Confirmed) + { // If this message is for this listener then it is automatically confirmed, even if the subscription is not (yet) confirmed subscriptionProcessor.Confirmed = true; + // This doesn't trigger a waiting subscribe query, should probably also somehow set the wait event for that + } // 6. Deserialize the message object? deserialized = null;