Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #38 from dseif/t994

[#994] Fixed issue where trackevents that were currently showing when de...
  • Loading branch information...
commit 23ed5c3fb0f7320159bc1166ae953175a842e306 2 parents 419bfa3 + cde2d8d
@dseif dseif authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 popcorn.js
View
5 popcorn.js
@@ -450,6 +450,11 @@
events[ item ] = null;
}
+ // remove all plugins off the given instance
+ for ( plugin in Popcorn.registryByName ) {
+ Popcorn.removePlugin( instance, plugin );
+ }
+
if ( !instance.isDestroyed ) {
instance.data.timeUpdate && instance.media.removeEventListener( "timeupdate", instance.data.timeUpdate, false );
instance.isDestroyed = true;
Please sign in to comment.
Something went wrong with that request. Please try again.