From 7c5cd1959cc5f0692262b1826a19afce0439988a Mon Sep 17 00:00:00 2001 From: Matthew Fosse Date: Wed, 17 Jul 2024 09:41:26 -0700 Subject: [PATCH] [skip ci] minor enhancements --- cw_bitcoin/lib/litecoin_wallet.dart | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cw_bitcoin/lib/litecoin_wallet.dart b/cw_bitcoin/lib/litecoin_wallet.dart index a42a7469b..3fd660a28 100644 --- a/cw_bitcoin/lib/litecoin_wallet.dart +++ b/cw_bitcoin/lib/litecoin_wallet.dart @@ -690,4 +690,11 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store { Future save() async { await super.save(); } + + @override + Future close() async { + await super.close(); + await mwebUtxosBox.close(); + _syncTimer?.cancel(); + } }