diff --git a/packages/neon/neon/lib/src/models/app_implementation.dart b/packages/neon/neon/lib/src/models/app_implementation.dart index 811884aa..f60d3fe9 100644 --- a/packages/neon/neon/lib/src/models/app_implementation.dart +++ b/packages/neon/neon/lib/src/models/app_implementation.dart @@ -7,6 +7,7 @@ import 'package:neon/src/bloc/bloc.dart'; import 'package:neon/src/blocs/accounts.dart'; import 'package:neon/src/models/account.dart'; import 'package:neon/src/models/account_cache.dart'; +import 'package:neon/src/models/disposable.dart'; import 'package:neon/src/settings/models/options_collection.dart'; import 'package:neon/src/settings/models/storage.dart'; import 'package:neon/src/widgets/drawer_destination.dart'; @@ -15,7 +16,7 @@ import 'package:rxdart/rxdart.dart'; import 'package:vector_graphics/vector_graphics.dart'; @immutable -abstract class AppImplementation { +abstract class AppImplementation implements Disposable { AppImplementation(); String get id; @@ -111,6 +112,7 @@ abstract class AppImplementation }, ); + @override @mustCallSuper void dispose() { options.dispose();