Skip to content

Commit

Permalink
Merge pull request #2626 from huangxc212/getpageroute_leak_fix
Browse files Browse the repository at this point in the history
fix Leakage in GetPageRoute
  • Loading branch information
jonataslaw committed Nov 28, 2022
2 parents 95a92de + 2f235ca commit c2f8921
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/get_navigation/src/routes/default_route.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class GetPageRoute<T> extends PageRoute<T>
super.dispose();
final middlewareRunner = MiddlewareRunner(middlewares);
middlewareRunner.runOnPageDispose();
_child = null;
}

Widget? _child;
Expand Down

0 comments on commit c2f8921

Please sign in to comment.