htlcswitch: ensure channel state machine is stopped on link stoppage
This commit is contained in:
parent
be62188962
commit
457aebd16f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user