mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 06:21:40 +01:00
Stop btcwallet when shutting down lnwallet
This commit is contained in:
parent
bf1a090d1d
commit
bd37f05ad6
1 changed files with 2 additions and 0 deletions
|
@ -253,6 +253,8 @@ func (l *LightningWallet) Stop() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
l.wallet.Stop()
|
||||
|
||||
close(l.quit)
|
||||
l.wg.Wait()
|
||||
return nil
|
||||
|
|
Loading…
Add table
Reference in a new issue