routing/chainview: remove possibility of deadlock in shutdown of blockEventQueue
This commit is contained in:
2 files changed
+1
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user