diff --git a/src/ol/imagetile.js b/src/ol/imagetile.js index d62f5516a2..4deb7bd362 100644 --- a/src/ol/imagetile.js +++ b/src/ol/imagetile.js @@ -64,6 +64,15 @@ ol.ImageTile = function(tileCoord, state, src, crossOrigin, tileLoadFunction) { goog.inherits(ol.ImageTile, ol.Tile); +/** + * @inheritDoc + */ +ol.ImageTile.prototype.disposeInternal = function() { + this.unlistenImage_(); + goog.base(this, 'disposeInternal'); +}; + + /** * @inheritDoc * @api