lnwallet: shutdown rpc connection during stoppage

This commit is contained in:
Olaoluwa Osuntokun 2015-12-28 14:12:39 -06:00
parent 36e7c38812
commit 17f37cc254

@ -259,6 +259,7 @@ func (l *LightningWallet) Stop() error {
}
l.wallet.Stop()
l.rpc.Shutdown()
close(l.quit)
l.wg.Wait()