handle exit and avoid threads hanging (#137)
* barrier on starting network * handle exit better * give consensus service its own internal exit signal * update comment * remove stop_notifications and fix build
Showing
- substrate/Cargo.lock 12 additions, 0 deletionssubstrate/Cargo.lock
- substrate/polkadot/cli/src/lib.rs 9 additions, 5 deletionssubstrate/polkadot/cli/src/lib.rs
- substrate/polkadot/consensus/Cargo.toml 1 addition, 0 deletionssubstrate/polkadot/consensus/Cargo.toml
- substrate/polkadot/consensus/src/lib.rs 1 addition, 0 deletionssubstrate/polkadot/consensus/src/lib.rs
- substrate/polkadot/consensus/src/service.rs 58 additions, 33 deletionssubstrate/polkadot/consensus/src/service.rs
- substrate/polkadot/service/Cargo.toml 1 addition, 0 deletionssubstrate/polkadot/service/Cargo.toml
- substrate/polkadot/service/src/lib.rs 46 additions, 19 deletionssubstrate/polkadot/service/src/lib.rs
- substrate/substrate/client/src/client.rs 0 additions, 5 deletionssubstrate/substrate/client/src/client.rs
Please register or sign in to comment