mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-26 21:51:27 +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.rpc.Shutdown()
|
||||
|
||||
close(l.quit)
|
||||
l.wg.Wait()
|
||||
|
Reference in New Issue
Block a user