You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The player is leaking memory when the events bound to the Iframe are not destroyed properly.
To reproduce this issue in Chrome Version: 61.0.3163.100 (Official Build) (64-bit)
1.) Open http://brandly.github.io/angular-youtube-embed/#/advanced
2.) Take an initial heap snapshot in chrome devtools
3.) toggle the ng-if example on and off while waiting for the video to load.
4.) Take another heap snapshot.
5.) Repeat the process.
As seen below the heap size will consistently increase.
The root cause appears to be the angular scope on the events being passed into the call to the YT Iframe API.
The text was updated successfully, but these errors were encountered:
The player is leaking memory when the events bound to the Iframe are not destroyed properly.
To reproduce this issue in Chrome Version: 61.0.3163.100 (Official Build) (64-bit)
1.) Open http://brandly.github.io/angular-youtube-embed/#/advanced
2.) Take an initial heap snapshot in chrome devtools
3.) toggle the ng-if example on and off while waiting for the video to load.
4.) Take another heap snapshot.
5.) Repeat the process.
As seen below the heap size will consistently increase.
The root cause appears to be the angular scope on the events being passed into the call to the YT Iframe API.
The text was updated successfully, but these errors were encountered: