Ticket #1661 (new enhancement)
Clear timeouts and intervals on destroy
| Reported by: | pablo | Owned by: | pablo |
|---|---|---|---|
| Priority: | Low | Milestone: | Backlog |
| Component: | html5 | Keywords: | |
| Cc: | Forum thread: | http://www.longtailvideo.com/support/forums/jw-player/bug-reports/26946/fix-html5-settimeout-issues |
Description
If the player is destroyed, the internal intervals and timeouts are not automatically cleared. This can cause problems with event listeners and other integrations.
Change History
Note: See
TracTickets for help on using
tickets.

A possible way to fix this is to add a global utility that cues / tracks all timers for all players. If a player gets destroyed, its timers then also get deleted.