miner: on downloader.Done/Fail stop immediately. Ignore pending evs

pull/1073/head
obscuren 10 years ago
parent 4600ecb5c7
commit 3ea9868b65
  1. 2
      miner/miner.go

@ -65,6 +65,8 @@ func (self *Miner) update() {
}
// unsubscribe. we're only interested in this event once
events.Unsubscribe()
// stop immediately and ignore all further pending events
break
}
}

Loading…
Cancel
Save