Skip to content

Commit

Permalink
Merge pull request #88 from cklutz/pr72fix
Browse files Browse the repository at this point in the history
Fix for issue #87
  • Loading branch information
jacqueskang authored Dec 27, 2019
2 parents 94b888d + bab1710 commit c3f9a00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public NamedPipeIpcServiceClient(IIpcMessageSerializer serializer, IValueConvert
protected override async Task<Stream> ConnectToServerAsync(CancellationToken cancellationToken)
{
var stream = new NamedPipeClientStream(".", _pipeName, PipeDirection.InOut, PipeOptions.Asynchronous);
await stream.ConnectAsync((int)TimeSpan.FromSeconds(3).TotalMilliseconds, cancellationToken).ConfigureAwait(false);
await stream.ConnectAsync(cancellationToken).ConfigureAwait(false);
return stream;
}
}
Expand Down

0 comments on commit c3f9a00

Please sign in to comment.