Implemented synchronous update for GeoJSON source (#3968)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -193,8 +193,9 @@ GeometryTile::GeometryTile(const OverscaledTileID& id_,
|
||||
ImageRequestor(parameters.imageManager),
|
||||
threadPool(parameters.threadPool),
|
||||
mailbox(std::make_shared<Mailbox>(*Scheduler::GetCurrent())),
|
||||
worker(parameters.threadPool, // Scheduler reference for the Actor retainer
|
||||
ActorRef<GeometryTile>(*this, mailbox),
|
||||
worker(parameters.isUpdateSynchronous,
|
||||
parameters.threadPool, // Scheduler reference for the Actor retainer
|
||||
OptionalActorRef<GeometryTile>(parameters.isUpdateSynchronous, *this, mailbox),
|
||||
parameters.threadPool,
|
||||
id_,
|
||||
sourceID,
|
||||
|
||||
Reference in New Issue
Block a user