mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
7bd4be0fa5
In this commit, the `urlChanges` subject is completed to release all active observers when the root scope is destroyed. Previously, subscribing to the `urlChanges` subject caused the subscriber to capture `this`, resulting in a memory leak after the root scope was destroyed. PR Close #59703