mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-07 19:30:46 +02:00
lnwallet: shutdown rpc connection during stoppage
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user