lnwallet: shutdown rpc connection during stoppage

This commit is contained in:
Olaoluwa Osuntokun committed 2015-12-29 00:00:28 -06:00
1 parent 36e7c38812
commit 17f37cc254
1 file changed
+1
+1
View File
@@ -259,6 +259,7 @@ func (l *LightningWallet) Stop() error {
}
l.wallet.Stop()
l.rpc.Shutdown()
close(l.quit)
l.wg.Wait()