diff options
Diffstat (limited to 'platform/android/src/style/sources/geojson_source.cpp')
-rw-r--r-- | platform/android/src/style/sources/geojson_source.cpp | 3 |
1 files changed, 3 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..ccd068da0c 100644 --- a/platform/android/src/style/sources/geojson_source.cpp +++ b/platform/android/src/style/sources/geojson_source.cpp @@ -177,6 +177,9 @@ namespace android { } void GeoJSONSource::setAsync(Update::Converter converterFn) { + if (detached) { + return; + } awaitingUpdate = std::make_unique<Update>( std::move(converterFn), std::make_unique<Actor<Callback>>( |