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) {
|
_tileReady: function (coords, err, tile) {
|
||||||
|
if (!this._map) { return; }
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
this.fire('tileerror', {
|
this.fire('tileerror', {
|
||||||
error: err,
|
error: err,
|
||||||
|
Loading…
Reference in New Issue
Block a user