Skip to content

Commit

Permalink
fix: more SynchonizationContext work
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed May 3, 2019
1 parent 5bae954 commit e1c7d1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/IpfsEngine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<PackageReference Include="Makaretu.Dns.Unicast" Version="0.8.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
<PackageReference Include="Nito.AsyncEx.Coordination" Version="5.0.0" />
<PackageReference Include="PeerTalk" Version="0.9.0" />
<PackageReference Include="PeerTalk" Version="0.9.1" />
<PackageReference Include="PeterO.Cbor" Version="3.1.0" />
<PackageReference Include="Portable.BouncyCastle" Version="1.8.5" />
<PackageReference Include="protobuf-net" Version="2.4.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/UnixFileSystem/ChunkedStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public override void Write(byte[] buffer, int offset, int count)
/// <inheritdoc />
public override int Read(byte[] buffer, int offset, int count)
{
return ReadAsync(buffer, offset, count).Result;
return ReadAsync(buffer, offset, count).GetAwaiter().GetResult();
}

/// <inheritdoc />
Expand Down

0 comments on commit e1c7d1a

Please sign in to comment.