mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
ensure all spawned futures are exit-guarded (#59)
This commit is contained in:
committed by
GitHub
parent
5e04c22522
commit
b2db7857a7
@@ -205,7 +205,11 @@ construct_service_factory! {
|
||||
let client = service.client();
|
||||
|
||||
// collator connections and consensus network both fulfilled by this
|
||||
let consensus_network = ConsensusNetwork::new(service.network(), service.client());
|
||||
let consensus_network = ConsensusNetwork::new(
|
||||
service.network(),
|
||||
service.on_exit(),
|
||||
service.client(),
|
||||
);
|
||||
let proposer_factory = ::consensus::ProposerFactory::new(
|
||||
client.clone(),
|
||||
consensus_network.clone(),
|
||||
|
||||
Reference in New Issue
Block a user