fix race condition in tests
This commit is contained in:
parent
d84c38a5a2
commit
bb230d0ac2
@ -552,6 +552,8 @@ L.GridLayer = L.Layer.extend({
|
||||
},
|
||||
|
||||
_tileReady: function (coords, err, tile) {
|
||||
if (!this._map) { return; }
|
||||
|
||||
if (err) {
|
||||
this.fire('tileerror', {
|
||||
error: err,
|
||||
|
Loading…
Reference in New Issue
Block a user