From: David Seifried Date: Thu, 22 Sep 2011 15:41:31 +0000 (-0400) Subject: Removed the idea of removing an instance upon deletion X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=fa62d52c7b411f668018657de6a4050d40cd733e;p=popcorn-js.git Removed the idea of removing an instance upon deletion --- diff --git a/popcorn.js b/popcorn.js index 8cd000c..d1e0f37 100644 --- a/popcorn.js +++ b/popcorn.js @@ -419,10 +419,6 @@ instance.media.removeEventListener( "timeupdate", instance.data.timeUpdateFunction, false ); instance.isDestroyed = true; } - - Popcorn.instances.splice( Popcorn.instanceIds[ instance.id ], 1 ); - - delete Popcorn.instanceIds[ instance.id ]; } });