mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-30 04:32:33 +02:00
In this commit, we fix an existing grouting leak within the contract court package. If a goroutine dies, but it doesn’t actually cancel the block epoch notification that it requested, then it’s possible to leak thousands of gorutines. To remedy this situation, we ensure that we’ll *always* cancel the epoch notification once the goroutine has exited.