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

bugfix: ensure blockservice callbacks are not nil #5518

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

iansuvak
Copy link
Contributor

Summary

@cce caught an issue with a #5472 after it was merged. Here is the fix to ensure clean shutdown of the server since before we weren't checking that OnRelease callback isn't nil.

Test Plan

Existing tests

@codecov
Copy link

codecov bot commented Jun 30, 2023

Codecov Report

Merging #5518 (f7bc06c) into master (0bc522d) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #5518      +/-   ##
==========================================
- Coverage   55.86%   55.80%   -0.06%     
==========================================
  Files         446      446              
  Lines       63256    63258       +2     
==========================================
- Hits        35336    35303      -33     
- Misses      25558    25583      +25     
- Partials     2362     2372      +10     
Impacted Files Coverage Δ
network/wsPeer.go 70.26% <0.00%> (-2.93%) ⬇️

... and 16 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@algorandskiy algorandskiy requested a review from AlgoAxel June 30, 2023 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants