Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Fix panic on Light Client shutdown #10179

Merged
merged 1 commit into from
Jan 15, 2019
Merged

Conversation

ngotchac
Copy link
Contributor

Fixes #10177

The issue was that the runtime was dropped before the ws_server, so if any WS connection has been made, it could be that the node would try to send some notifications through it after the runtime being dropped, but before ws_server. As it spawns a future on the runtime's Executor, it would panic.

@ngotchac ngotchac added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Jan 14, 2019
@sorpaas sorpaas added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 15, 2019
@niklasad1 niklasad1 merged commit 53a04e1 into master Jan 15, 2019
@niklasad1 niklasad1 deleted the ng-fix-light-shutdown-panic branch January 15, 2019 08:14
@5chdn 5chdn added this to the 2.4 milestone Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants