routing/chainview: remove possibility of deadlock in shutdown of blockEventQueue

This commit is contained in:
Olaoluwa Osuntokun committed 2017-11-16 16:01:21 -08:00
1 parent 0297042a8d
commit d2c8f01768
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -72,7 +72,6 @@ func (b *blockEventQueue) Stop() {
close(b.quit)
b.queueCond.Signal()
b.wg.Wait()
}
// queueCoordinator is the queue's main loop, handling incoming block events