#480 ✓ staged
Scott Downe

plugins need an optional _cleanup function, and map plugin needs to use this

Reported by Scott Downe | April 15th, 2011 @ 01:03 PM | in 0.5

If a map track gets removed via removetrackevent, it never actually gets removed, just display: none forever.

Even worse, if it is currently being displayed when the removetrackevent is called on it, not only can you never clean it, but you will always see it.

So I propose a cleanup function to mimick setup, which will be called on a track when it gets removed via removeTrackEvent().

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Popcorn.js is an HTML5 video framework that lets you bring elements of the web into your videos.

Popcorn.js is a project of Web Made Movies, Mozilla's Open Video Lab.

Shared Ticket Bins

Referenced by

Pages