tangrams / tangram

WebGL map rendering engine for creative cartography
https://tangram.city
MIT License
2.22k stars 290 forks source link

Fix `scene.updateConfig()` memory leak #697

Closed bcamper closed 5 years ago

bcamper commented 5 years ago

Fix memory leak when scene.updateConfig() is called, due to dangling style references in WorkerBroker (outdated style worker broker targets were not removed when new styles were built).

See discussion in https://github.com/tangrams/tangram/issues/696. Thanks to @rihteri!