kopia lustrzana https://github.com/robhawkes/vizicities
Clean up memory footprint after geometry is created
rodzic
89ea1ee87d
commit
62795c673d
|
@ -225,6 +225,11 @@ class GeoJSONWorkerLayer extends Layer {
|
|||
this.add(this._polygonMesh);
|
||||
}
|
||||
|
||||
// Clean up
|
||||
results.attributes = null;
|
||||
results.flats = null;
|
||||
results = null;
|
||||
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue