From 550cec34b60f7c7aee794b1d2b72bfa449525dc5 Mon Sep 17 00:00:00 2001 From: ScottDowne Date: Wed, 20 Apr 2011 11:40:42 -0400 Subject: [PATCH] [#480] setting any closure scoped variables to null because there is no other time to access or remove them via popcorn's removeTrackEvent --- plugins/googlemap/popcorn.googlemap.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/googlemap/popcorn.googlemap.js b/plugins/googlemap/popcorn.googlemap.js index 1a63e54..f517612 100644 --- a/plugins/googlemap/popcorn.googlemap.js +++ b/plugins/googlemap/popcorn.googlemap.js @@ -191,6 +191,7 @@ var googleCallback; _teardown: function( options ) { // the map must be manually removed document.getElementById( options.target ).removeChild( newdiv ); + newdiv = map = location = null; } }; }, -- 2.43.0