mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-18 01:56:55 +01:00
multi: wait for rpcclients shutdown to complete
We need to call `WaitForShutdown` after stopping the rpc clients of the chain backends.
This commit is contained in:
@@ -238,6 +238,7 @@ func (b *BtcdEstimator) Stop() error {
|
||||
b.filterManager.Stop()
|
||||
|
||||
b.btcdConn.Shutdown()
|
||||
b.btcdConn.WaitForShutdown()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user