mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-19 20:15:18 +02:00
htlcswitch: ensure channel state machine is stopped on link stoppage
This commit is contained in:
@@ -276,6 +276,9 @@ func (l *channelLink) Stop() {
|
|||||||
|
|
||||||
log.Infof("ChannelLink(%v) is stopping", l)
|
log.Infof("ChannelLink(%v) is stopping", l)
|
||||||
|
|
||||||
|
// TODO(roasbeef): need to stop channel?
|
||||||
|
l.channel.Stop()
|
||||||
|
|
||||||
l.overflowQueue.Stop()
|
l.overflowQueue.Stop()
|
||||||
|
|
||||||
close(l.quit)
|
close(l.quit)
|
||||||
|
Reference in New Issue
Block a user