OpenAtomFoundation / xupercore

The kernel of xuperchain.
Apache License 2.0
61 stars 47 forks source link

p2pv1: fix goroutine leak. #253

Closed aucusaga closed 3 years ago

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

codecov-commenter commented 3 years ago

Codecov Report

Merging #253 (3a3716e) into master (cb95ad3) will increase coverage by 0.00%. The diff coverage is 83.33%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #253   +/-   ##
=======================================
  Coverage   46.63%   46.63%           
=======================================
  Files         136      136           
  Lines       12037    12045    +8     
=======================================
+ Hits         5613     5617    +4     
- Misses       5266     5268    +2     
- Partials     1158     1160    +2     
Impacted Files Coverage Δ
bcs/network/p2pv1/client.go 46.21% <60.00%> (+0.11%) :arrow_up:
bcs/network/p2pv1/conn.go 55.10% <100.00%> (+1.91%) :arrow_up:
bcs/contract/xvm/code_manager.go 63.63% <0.00%> (-2.73%) :arrow_down:
bcs/consensus/xpoa/xpoa.go 54.83% <0.00%> (-1.08%) :arrow_down:
kernel/consensus/base/driver/chained-bft/smr.go 42.69% <0.00%> (+0.82%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cb95ad3...3a3716e. Read the comment docs.