Fix persistent wallet on log out
This patch simply disconects the wallet connection when a user logs out. Changelog-Fixed: Fixed wallet not disconnecting when a user logs out Signed-off-by: ericholguin <ericholguin@apache.org> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
William Casarin
parent
6cd9d7b1da
commit
8bcd8317f1
@@ -99,6 +99,7 @@ class DamusState: HeadlessDamusState {
|
|||||||
|
|
||||||
func close() {
|
func close() {
|
||||||
print("txn: damus close")
|
print("txn: damus close")
|
||||||
|
wallet.disconnect()
|
||||||
pool.close()
|
pool.close()
|
||||||
ndb.close()
|
ndb.close()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user