mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-28 22:02:38 +02:00
On restarts, notifyBlockEpochs would intermittently attempt to send new block epoch notifications to clients that had already been shut down, causing a “send on closed channel” error. This change exits notifyBlockEpochs upon shutdown so as to prevent this.