Closed SeanCassiere closed 2 weeks ago
CI is running/has finished running commands for commit e70a76446fbaa8ceba2a45ad1bda94d97714e1e5. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this CI Pipeline Execution
Sent with 💌 from NxCloud.
When the user sets a
defaultGcTime
on the router or agcTime
on a route to the value of0
, the current eager garbage collection we've got going on ends up setting the route-context toundefined
.This normally wouldn't matter on direct navigation, however, when redirects come into play this results in the route trying to execute its options (
beforeLoad
,loader
,component
, etc) without its processed route context being available. The current setup looks to perform garbage collection both before and after athis.loadMatches
has been called inrouter.load
.This change makes it so that garbage collection is done after the
this.loadMatches
call has resolved.This is part of the fix for #1531.