diff options
author | Jesse Bounds <jesse@rebounds.net> | 2016-11-29 08:56:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-29 08:56:59 -0800 |
commit | d830c48e4a6d656284df930a5fda03ba8f1521cc (patch) | |
tree | 341fcd663c5a790f8cc5dda917ccb11f718a5734 /platform/darwin | |
parent | 83e134eb9f2a8737d2ce008cd7564b4df0777c39 (diff) | |
download | qtlocation-mapboxgl-d830c48e4a6d656284df930a5fda03ba8f1521cc.tar.gz |
[ios, macos] Refcount view activations (#7208)
This adds a ref count to guard against calling activate after it has
already been called. This can happen when a layer is added during
certain map lifecycle methods like MapChangeWillStartRenderingFrame
that also triggers activation. This also protects against issues
related to a deactivation of the context happening in an inner scope
while an outer scope is still expecting to be able to use the context.
Diffstat (limited to 'platform/darwin')
0 files changed, 0 insertions, 0 deletions