angular/packages/common/testing/src
arturovt bedb257afc fix(common): cleanup URL change listeners when the root view is removed (#44901)
The `Location` creates the `_urlChangeSubscription` when the `onUrlChange` is called for the first time.
The subscription `next` function captures `this` and prevents the `Location` from being garbage collected
when the root view is removed.

PR Close #44901
2022-02-14 14:02:26 -08:00
..
location_mock.ts fix(common): cleanup URL change listeners when the root view is removed (#44901) 2022-02-14 14:02:26 -08:00
mock_location_strategy.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
mock_platform_location.ts test(common): change fallback default URL in MockPlatformLocation (#44211) 2021-11-24 18:55:33 +00:00
testing.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00