mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 23:01:44 +01:00
fixed race
This commit is contained in:
parent
f2879bddb2
commit
26d500866e
@ -23,8 +23,9 @@ namespace Capnp.Net.Runtime.Tests
|
|||||||
|
|
||||||
protected TcpRpcClient SetupClient()
|
protected TcpRpcClient SetupClient()
|
||||||
{
|
{
|
||||||
var client = new TcpRpcClient("localhost", TcpPort);
|
var client = new TcpRpcClient();
|
||||||
client.AddBuffering();
|
client.AddBuffering();
|
||||||
|
client.Connect("localhost", TcpPort);
|
||||||
return client;
|
return client;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user