Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep UnderlyingSourceAlgorithms alive until it's explicitly closed
1. Adding mAsyncWaitAlgorithms to match mAsyncWaitWorkerRef and keep the algorithms object just like how the workerref is kept right now. 2. Closing mInput also on the window teardown, to prevent memory leak as Fetch does not close the stream automatically. Depends on D193295 Differential Revision: https://phabricator.services.mozilla.com/D190058 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1849860 gecko-commit: b81979c8bd150c344ec943a6ccb0c14b39371478 gecko-reviewers: smaug, asuth
- Loading branch information