Exit signal cleanup: pass in references, make the receiver clone as needed

This commit is contained in:
Michael Vines
2019-03-04 16:33:14 -08:00
parent 794e961328
commit 906df5e20e
11 changed files with 36 additions and 48 deletions

View File

@@ -150,7 +150,7 @@ impl Replicator {
Some(blocktree.clone()),
None,
node.sockets.gossip,
exit.clone(),
&exit,
);
info!("polling for leader");