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:
7 files changed
+8
-4
No files matched your search
@@ -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