-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix theoretical memory leak on reload in stream PlaybackObserver crea…
…tion code When working on the WebWorker branch (#1272), I noticed a (small) memory leak where a created PlaybackObserver could still be running after a reload for the same content, whereas it should not. This removes that leak by ensuring all logic is cleaned-up on each reload. However, we do have memory-leak tests checking for leaks in that area and it didn't find anything, running the corresponding test before and after the commit is applied seems to result in roughly the same JS heap size. We may have to look if the test does not do what we want it to do or if the leak in question is very insignifance/does not apply in our current code.
- Loading branch information
1 parent
0da1a8a
commit b3f3a1b
Showing
2 changed files
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters