htlcswitch: ensure channel state machine is stopped on link stoppage
This commit is contained in:
1 file changed
+3
@@ -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