From c48056f0789be62d0fa38962b85a6c1568c5fb81 Mon Sep 17 00:00:00 2001 From: Tino Hager Date: Mon, 30 May 2022 09:19:12 +0200 Subject: [PATCH] Fix missing linking --- src/Portalum.Zvt/ZvtClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Portalum.Zvt/ZvtClient.cs b/src/Portalum.Zvt/ZvtClient.cs index cbea783..ad71951 100644 --- a/src/Portalum.Zvt/ZvtClient.cs +++ b/src/Portalum.Zvt/ZvtClient.cs @@ -239,7 +239,7 @@ private async Task SendCommandAsync( { using var timeoutCancellationTokenSource = new CancellationTokenSource(this._commandCompletionTimeout); using var dataReceivcedCancellationTokenSource = new CancellationTokenSource(); - using var linkedCancellationTokenSource = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, dataReceivcedCancellationTokenSource.Token); + using var linkedCancellationTokenSource = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, dataReceivcedCancellationTokenSource.Token, timeoutCancellationTokenSource.Token); var commandResponse = new CommandResponse {