From 7f2a2f56d74f761483148c0f1c5f0afc2db0e49a Mon Sep 17 00:00:00 2001 From: redth Date: Wed, 7 Sep 2022 19:56:30 -0400 Subject: [PATCH] Reset the request stream tcs after prev complete --- Microsoft.Maui.Automation.Driver/GrpcRemoteAppClient.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Microsoft.Maui.Automation.Driver/GrpcRemoteAppClient.cs b/Microsoft.Maui.Automation.Driver/GrpcRemoteAppClient.cs index 4a32518..5685c3d 100644 --- a/Microsoft.Maui.Automation.Driver/GrpcRemoteAppClient.cs +++ b/Microsoft.Maui.Automation.Driver/GrpcRemoteAppClient.cs @@ -152,6 +152,8 @@ namespace Microsoft.Maui.Automation.Remote tcs.TrySetResult(requestStream.Current); } } + + tcsRequestStream = new TaskCompletionSource>(); } } } \ No newline at end of file