mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
Add missing close()
This commit is contained in:
parent
598f583686
commit
0de7e5ed87
1 changed files with 7 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue