From 2f235caf9ed27082da2d98871736be1ac0120f8a Mon Sep 17 00:00:00 2001 From: huangxiaochuan Date: Fri, 25 Nov 2022 16:21:45 +0800 Subject: [PATCH] fix Leakage in GetPageRoute --- lib/get_navigation/src/routes/default_route.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/get_navigation/src/routes/default_route.dart b/lib/get_navigation/src/routes/default_route.dart index 5987bc799..bdcf306ed 100644 --- a/lib/get_navigation/src/routes/default_route.dart +++ b/lib/get_navigation/src/routes/default_route.dart @@ -110,6 +110,7 @@ class GetPageRoute extends PageRoute super.dispose(); final middlewareRunner = MiddlewareRunner(middlewares); middlewareRunner.runOnPageDispose(); + _child = null; } Widget? _child;