[core] Don't share Style& across threads

This commit is contained in:
John Firebaugh
2015-11-06 12:20:26 -08:00
parent 4dc4eef83e
commit 96f5ae7cb8
4 changed files with 26 additions and 18 deletions

View File

@@ -20,7 +20,9 @@ VectorTileData::VectorTileData(const TileID& id_,
worker(style_.workers),
tileWorker(id_,
sourceID,
style_,
*style_.spriteStore,
*style_.glyphAtlas,
*style_.glyphStore,
state),
monitor(std::move(monitor_))
{