Drain chain server connected notifications.
Fixes a possible hang on shutdown.
This commit is contained in:
parent
ef6aa91b6a
commit
e7263e48dc
1 changed files with 1 additions and 0 deletions
|
@ -1178,6 +1178,7 @@ func (s *rpcServer) drainNotifications() {
|
||||||
case <-s.minedDebits:
|
case <-s.minedDebits:
|
||||||
case <-s.confirmedBalance:
|
case <-s.confirmedBalance:
|
||||||
case <-s.unconfirmedBalance:
|
case <-s.unconfirmedBalance:
|
||||||
|
case <-s.chainServerConnected:
|
||||||
case <-s.registerWalletNtfns:
|
case <-s.registerWalletNtfns:
|
||||||
case <-s.registerChainSvrNtfns:
|
case <-s.registerChainSvrNtfns:
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue