summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLTypes.h
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@gmail.com>2018-09-05 11:53:12 -0400
committerGitHub <noreply@github.com>2018-09-05 11:53:12 -0400
commit315a9e3cdfef828da9d359209ce367d0d2b3ebe8 (patch)
treec7d374a515989d4c1f388c68879ed7b44748375d /platform/darwin/src/MGLTypes.h
parent5aca8e9ffbc90e9b431869e616f8451b09c352ef (diff)
downloadqtlocation-mapboxgl-315a9e3cdfef828da9d359209ce367d0d2b3ebe8.tar.gz
[ios, macos] Call snapshotter (Obj-C) completion block on dealloc/cancel if snapshot hasn't finished. (#12355)
Diffstat (limited to 'platform/darwin/src/MGLTypes.h')
-rw-r--r--platform/darwin/src/MGLTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLTypes.h b/platform/darwin/src/MGLTypes.h
index 1c90d7968b..035c6f6593 100644
--- a/platform/darwin/src/MGLTypes.h
+++ b/platform/darwin/src/MGLTypes.h
@@ -49,7 +49,7 @@ typedef NS_ENUM(NSInteger, MGLErrorCode) {
/** An attempt to load the style failed. */
MGLErrorCodeLoadStyleFailed = 5,
/** An error occurred while snapshotting the map. */
- MGLErrorCodeSnapshotFailed = 6,
+ MGLErrorCodeSnapshotFailed = 6
};
/** Options for enabling debugging features in an `MGLMapView` instance. */