Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Needs more info comment that > 10 days [ID: 963198]
Comment such as: SPAM, non-actionable [ID: 963127]
Resolved actionable follow-up comments [ID: 963027]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
----------------
What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.
1. Visit a page with an embedded Google Map (e.g.
2. Observe the size of window._xdc_ (e.g. via Object.keys(window._xdc_).length)
2. Navigate around the map to load tiles.
3. Observe that window._xdc_ grows.
4. Continue interacting with the map, loading tiles, and continue observing that window._xdc_ is never cleared.
Suggested fix
----------------
Clear callbacks from window._xdc_ by deleting the key once they are no longer used. It looks like they are all single-use callbacks, so I think you can do this with minimal changes to the existing SDK.