Ticket #1661 (new enhancement)

Opened 12 months ago

Last modified 7 months ago

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

comment:1 Changed 10 months ago by jeroen

  • Owner set to pablo

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.

comment:2 Changed 7 months ago by pablo

  • Priority changed from Normal to Low
Note: See TracTickets for help on using tickets.