good morning!!!!

Skip to content
Snippets Groups Projects
Commit 3ea9868b authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

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

parent 4600ecb5
Branches
Tags
No related merge requests found
...@@ -65,6 +65,8 @@ func (self *Miner) update() { ...@@ -65,6 +65,8 @@ func (self *Miner) update() {
} }
// unsubscribe. we're only interested in this event once // unsubscribe. we're only interested in this event once
events.Unsubscribe() events.Unsubscribe()
// stop immediately and ignore all further pending events
break
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment