summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobrun <tobrun.van.nuland@gmail.com>2019-03-13 11:07:45 +0100
committertobrun <tobrun.van.nuland@gmail.com>2019-03-13 11:07:45 +0100
commite2ea8ea51cc5ac06f3244d52a0ffd1c4e34c1f81 (patch)
tree2a47ca82562f33b11027e47f4f0c29a3e89efb97
parent7d1911572000d1353c1c0109402431323fcd8639 (diff)
downloadqtlocation-mapboxgl-upstream/tvn-release-global-ref.tar.gz
[android] - release global reference async updater after update has executedupstream/tvn-release-global-ref
-rw-r--r--platform/android/src/style/sources/geojson_source.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/src/style/sources/geojson_source.cpp b/platform/android/src/style/sources/geojson_source.cpp
index a9307afe67..af4247e347 100644
--- a/platform/android/src/style/sources/geojson_source.cpp
+++ b/platform/android/src/style/sources/geojson_source.cpp
@@ -174,6 +174,7 @@ namespace android {
};
setAsync(converterFn);
+ global.release();
}
void GeoJSONSource::setAsync(Update::Converter converterFn) {