From fa62d52c7b411f668018657de6a4050d40cd733e Mon Sep 17 00:00:00 2001 From: David Seifried Date: Thu, 22 Sep 2011 11:41:31 -0400 Subject: [PATCH] Removed the idea of removing an instance upon deletion --- popcorn.js | 4 ---- 1 file changed, 4 deletions(-) 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 ]; } }); -- 2.43.0