From 485a0f64030825455dd4d1f4a2f6ed7a5d4b0d67 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 6 Aug 2012 17:55:30 +0200 Subject: [PATCH] Clean up after callback called --- src/ol/tile/bingmaps.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ol/tile/bingmaps.js b/src/ol/tile/bingmaps.js index 38c0e3c6e2..100603bdcf 100644 --- a/src/ol/tile/bingmaps.js +++ b/src/ol/tile/bingmaps.js @@ -174,6 +174,8 @@ ol.tilestore.BingMaps.prototype.handleImageryMetadataResponse = if (!goog.isNull(this.callback_)) { this.callback_.call(this.object_, this); + this.callback_ = null; + this.object_ = null; } };