Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Swarm.StopAsync() #275

Merged
merged 8 commits into from
Jun 10, 2019
Merged

Conversation

longfin
Copy link
Member

@longfin longfin commented Jun 5, 2019

This PR fixes issues as below.

  • Fixed a bug that Swarm.StopAsync() didn't stop properly during Swarm.Preload()
  • Filled up cancellation support with CancellationToken on TAP methods.

@codecov
Copy link

codecov bot commented Jun 5, 2019

Codecov Report

Merging #275 into master will decrease coverage by 0.13%.
The diff coverage is 92.4%.

@@            Coverage Diff            @@
##           master    #275      +/-   ##
=========================================
- Coverage   87.04%   86.9%   -0.14%     
=========================================
  Files         180     180              
  Lines       11532   11555      +23     
=========================================
+ Hits        10038   10042       +4     
- Misses       1250    1270      +20     
+ Partials      244     243       -1
Impacted Files Coverage Δ
Libplanet.Tests/Net/SwarmTest.cs 93.06% <100%> (-0.03%) ⬇️
Libplanet/Net/Swarm.cs 74.14% <91.78%> (-1.08%) ⬇️
Libplanet/Crypto/PrivateKey.cs 85.58% <0%> (+0.9%) ⬆️

@longfin longfin force-pushed the bugfix/swarm-stop branch 5 times, most recently from 6ad80f7 to 48e3704 Compare June 7, 2019 08:52
@longfin longfin changed the title Tune Swarm.StopAsync() Fix Swarm.StopAsync() Jun 7, 2019
@longfin longfin marked this pull request as ready for review June 7, 2019 09:56
CHANGES.md Outdated Show resolved Hide resolved
CHANGES.md Outdated Show resolved Hide resolved
@longfin longfin requested review from dahlia and earlbread June 10, 2019 02:03
earlbread
earlbread previously approved these changes Jun 10, 2019
dahlia
dahlia previously approved these changes Jun 10, 2019
@longfin longfin merged commit 990e22a into planetarium:master Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants