Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make keepalive and blockfetch cleanup uninterruptible
If keepalive or blockfetch's unregister function is interrupted it will cause some state to be left. This will result in a space leak and an assertion failure the next time the node attempt to talk to that peer. Change their unregister functions to run inside uninterruptibleMask_.
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters