diff --git a/lib/models/auth.dart b/lib/models/auth.dart index d419e7f..7f41d57 100644 --- a/lib/models/auth.dart +++ b/lib/models/auth.dart @@ -153,6 +153,12 @@ class AuthModel with ChangeNotifier { notifyListeners(); } + @override + void dispose() { + _sub.cancel(); + super.dispose(); + } + void setActiveAccountIndex(int index) { activeAccountIndex = index; notifyListeners();