mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-13 11:09:23 +01:00
contractcourt: ensure the closeObserver exits on quit
This commit is contained in:
parent
f23848cac0
commit
09291d6aeb
1 changed files with 1 additions and 0 deletions
|
@ -381,6 +381,7 @@ func (c *chainWatcher) closeObserver(spendNtfn *chainntnfs.SpendEvent) {
|
|||
|
||||
// The chainWatcher has been signalled to exit, so we'll do so now.
|
||||
case <-c.quit:
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue