Fix for memory leak in canvas renderer (#6117)
This commit is contained in:
parent
22d9cfee93
commit
27989c55dd
@ -161,6 +161,8 @@ export var Canvas = Renderer.extend({
|
||||
this._drawFirst = next;
|
||||
}
|
||||
|
||||
delete this._drawnLayers[layer._leaflet_id];
|
||||
|
||||
delete layer._order;
|
||||
|
||||
delete this._layers[Util.stamp(layer)];
|
||||
|
Loading…
Reference in New Issue
Block a user