Prepare recommended fix

This commit is contained in:
christian
2026-06-16 19:10:11 +02:00
parent 16512d5b89
commit f6357c42b6
+6
View File
@@ -1049,6 +1049,12 @@ public sealed class MqttClient : Disposable, IMqttClient
switch (exception)
{
case OperationCanceledException:
// if (cancellationToken.IsCancellationRequested)
// {
// return;
// }
//break;
return;
case MqttCommunicationException:
_logger.Warning(exception, "Communication error while sending/receiving keep alive packets");