Drain chain server connected notifications.

Fixes a possible hang on shutdown.
This commit is contained in:
Josh Rickmar 2014-08-01 11:05:23 -05:00
parent ef6aa91b6a
commit e7263e48dc

View file

@ -1178,6 +1178,7 @@ func (s *rpcServer) drainNotifications() {
case <-s.minedDebits:
case <-s.confirmedBalance:
case <-s.unconfirmedBalance:
case <-s.chainServerConnected:
case <-s.registerWalletNtfns:
case <-s.registerChainSvrNtfns:
}