lnwallet: shutdown rpc connection during stoppage
This commit is contained in:
parent
36e7c38812
commit
17f37cc254
@ -259,6 +259,7 @@ func (l *LightningWallet) Stop() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
l.wallet.Stop()
|
l.wallet.Stop()
|
||||||
|
l.rpc.Shutdown()
|
||||||
|
|
||||||
close(l.quit)
|
close(l.quit)
|
||||||
l.wg.Wait()
|
l.wg.Wait()
|
||||||
|
Loading…
Reference in New Issue
Block a user