Skip to content

Commit

Permalink
fix: The appRef is also reset at restart.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed Mar 13, 2024
1 parent 158eeed commit 5a49e37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/masamune/lib/src/masamune_app.dart
Expand Up @@ -423,6 +423,7 @@ class _MasamuneAppState extends State<MasamuneApp> {
_key = null;
});
try {
widget.appRef?.reset();
await onRestart();
} catch (e) {
debugPrint(e.toString());
Expand Down

0 comments on commit 5a49e37

Please sign in to comment.