Skip to content

Commit

Permalink
Restore NetMQConfig.Cleanup() in SwarmTest
Browse files Browse the repository at this point in the history
  • Loading branch information
longfin committed May 20, 2019
1 parent 3c143bf commit 10476bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Libplanet.Tests/Net/SwarmTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ public void Dispose()
{
s.StopAsync().Wait(DisposeTimeout);
}

if (!(Type.GetType("Mono.Runtime") is null))
{
NetMQConfig.Cleanup(false);
}
}

[Fact(Timeout = Timeout)]
Expand Down

0 comments on commit 10476bb

Please sign in to comment.