From e7263e48dcf8e62962dbc58d5c11fab905463a73 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Fri, 1 Aug 2014 11:05:23 -0500 Subject: [PATCH] Drain chain server connected notifications. Fixes a possible hang on shutdown. --- rpcserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcserver.go b/rpcserver.go index 4165a99..e136f0e 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -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: }