mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-01-19 14:24:26 +01: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.