1 parent
752cf78e50
commit
f474e7ccd9
1 file changed
+3
-1
+3
-1
@@ -68,7 +68,9 @@ goog.inherits(ol.ImageTile, ol.Tile);
|
||||
* @inheritDoc
|
||||
*/
|
||||
ol.ImageTile.prototype.disposeInternal = function() {
|
||||
this.unlistenImage_();
|
||||
if (this.state == ol.TileState.LOADING) {
|
||||
this.unlistenImage_();
|
||||
}
|
||||
goog.base(this, 'disposeInternal');
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user