mirror of https://github.com/BTCPrivate/lnd.git
Stop btcwallet when shutting down lnwallet
This commit is contained in:
parent
bf1a090d1d
commit
bd37f05ad6
|
@ -253,6 +253,8 @@ func (l *LightningWallet) Stop() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
l.wallet.Stop()
|
||||
|
||||
close(l.quit)
|
||||
l.wg.Wait()
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue