This commit is contained in:
Gav Wood 2016-12-05 06:39:56 -08:00
parent 9d79cac36b
commit 459babb1a8
No known key found for this signature in database
GPG Key ID: C49C1ACA1CC9B252

View File

@ -175,6 +175,7 @@ impl Updater {
if let Some(b) = latest.track.binary { if let Some(b) = latest.track.binary {
let mut fetching = self.fetching.lock(); let mut fetching = self.fetching.lock();
if !*fetching { if !*fetching {
info!("Attempting to get parity binary {}", b);
let c = self.client.clone(); let c = self.client.clone();
let f = move |r: Result<PathBuf, fetch::Error>| if let Some(c) = c.upgrade() { c.updater().as_ref().expect("updater exists; updater only owned by client; qed").fetch_done(r); }; let f = move |r: Result<PathBuf, fetch::Error>| if let Some(c) = c.upgrade() { c.updater().as_ref().expect("updater exists; updater only owned by client; qed").fetch_done(r); };
if let Some(fetch) = self.fetch.clone().upgrade() { if let Some(fetch) = self.fetch.clone().upgrade() {