commit 8bcd8317f1c4376608a17339e1ac11d37317a592
parent 6cd9d7b1da35dda7ce7d39e7b66aa912ba22ece6
Author: ericholguin <ericholguin@apache.org>
Date: Sun, 9 Jun 2024 13:38:40 -0600
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>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/damus/Models/DamusState.swift b/damus/Models/DamusState.swift
@@ -99,6 +99,7 @@ class DamusState: HeadlessDamusState {
func close() {
print("txn: damus close")
+ wallet.disconnect()
pool.close()
ndb.close()
}