mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-24 20:53:07 +02:00
Stop btcwallet when shutting down lnwallet
This commit is contained in:
@@ -253,6 +253,8 @@ func (l *LightningWallet) Stop() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
l.wallet.Stop()
|
||||
|
||||
close(l.quit)
|
||||
l.wg.Wait()
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user