Skip to content

Commit

Permalink
9.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin-morocho committed Jan 31, 2024
1 parent d995c2e commit 9e7e8dc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions packages/flutter_meedu/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [9.0.10]
- Prevent dispose provider when didChangeDependencies is called on ConsumerWidget.

## [9.0.9]
- Updated to meedu: ^9.0.3

## [9.0.9]
- Updated to meedu: ^9.0.3

Expand Down
5 changes: 4 additions & 1 deletion packages/flutter_meedu/lib/consumer/consumer_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ class ConsumerStatefulElement extends StatefulElement implements BuilderRef {
void clearListeners(Map<StateNotifier, Function> map) {
for (final e in map.entries) {
if (!e.key.disposed) {
(e.key as dynamic).removeListener(e.value);
(e.key as dynamic).removeListener(
e.value,
ignoreAutoDispose: _isExternalBuild,
);
}
}
map.clear();
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_meedu/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_meedu
description: A powerful State Management, Dependency Injection, Reactive programming and Navigation for Flutter apps.
version: 9.0.9
version: 9.0.10
homepage: https://github.com/darwin-morocho/flutter-meedu/tree/master/packages/flutter_meedu
documentation: https://flutter.meedu.app

Expand Down

0 comments on commit 9e7e8dc

Please sign in to comment.