Remove gratuitous debug assertions
This commit is contained in:
@@ -164,8 +164,6 @@ ol.ImageTile.prototype.load = function() {
|
||||
* @private
|
||||
*/
|
||||
ol.ImageTile.prototype.unlistenImage_ = function() {
|
||||
goog.DEBUG && console.assert(this.imageListenerKeys_,
|
||||
'this.imageListenerKeys_ should not be null');
|
||||
this.imageListenerKeys_.forEach(ol.events.unlistenByKey);
|
||||
this.imageListenerKeys_ = null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user