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

Fixed SubscribeOnce unsubscribe handling #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

towe75
Copy link

@towe75 towe75 commented Nov 12, 2020

SubscribeOnce removal was not reliable in the case that more then one SubscribeOnce handler is registered. The problem is simple to reproduce by running the changed unit test against the unpatched version.

@codecov-io
Copy link

codecov-io commented Nov 12, 2020

Codecov Report

Merging #48 (22e0eb3) into master (49d4230) will decrease coverage by 1.57%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
- Coverage   83.26%   81.69%   -1.58%     
==========================================
  Files           4        4              
  Lines         251      213      -38     
==========================================
- Hits          209      174      -35     
+ Misses         29       26       -3     
  Partials       13       13              
Impacted Files Coverage Δ
event_bus.go 93.58% <100.00%> (-1.21%) ⬇️
network_bus.go 76.66% <0.00%> (-2.75%) ⬇️
server.go 72.13% <0.00%> (-1.79%) ⬇️
client.go 77.27% <0.00%> (+0.34%) ⬆️

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 49d4230...22e0eb3. Read the comment docs.

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.

None yet

2 participants