Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Stop synchronizer prior to stopping the network #1302

Merged
merged 3 commits into from
Apr 21, 2019

Conversation

ajsutton
Copy link
Contributor

PR description

Stop the Synchronizer before stopping the P2PNetwork - otherwise when the network is stopped, all the tasks performed by Synchronizer fail causing it to think fast sync failed and switching to full sync. The chain downloader had to ignore CancellationException to work around this but an explicit stop is much clearer.

Fixed Issue(s)

https://pegasys1.atlassian.net/browse/PAN-2535

@ajsutton ajsutton merged commit 71fb113 into PegaSysEng:master Apr 21, 2019
notlesh pushed a commit to notlesh/pantheon that referenced this pull request Apr 24, 2019
notlesh pushed a commit to notlesh/pantheon that referenced this pull request May 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants