Skip to content

Commit dca17f2

Browse files
Merge pull request #318 from StefanoOcchetti/patch-1
Update RPCClient.cs to fix problem: The client hangs during connection.Close(), if the channel was not closed.
2 parents 5bc1537 + 2bd7f79 commit dca17f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dotnet/RPCClient/RPCClient.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ public RpcClient()
6363

6464
public void Close()
6565
{
66-
connection.Close();
66+
channel.Close();
67+
connection.Close();
6768
}
6869
}
6970

0 commit comments

Comments
 (0)