Add missing close()

This commit is contained in:
Ming Ming 2021-11-22 14:58:06 +08:00
parent 598f583686
commit 0de7e5ed87

View file

@ -159,6 +159,13 @@ class ListSharingBloc extends Bloc<ListSharingBlocEvent, ListSharingBlocState> {
}
}
@override
close() {
_shareRemovedListener.end();
_refreshThrottler.clear();
return super.close();
}
@override
mapEventToState(ListSharingBlocEvent event) async* {
_log.info("[mapEventToState] $event");