Skip to content

Commit c1a7dc3

Browse files
sbergmairQLF3985
andauthored
Fix App crash caused by arcgis deinit (#106)
Co-authored-by: QLF3985 <stefan.bergmair@external.t-systems.com>
1 parent e708b7b commit c1a7dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arcgis_map_sdk_ios/ios/arcgis_map_sdk_ios/Sources/arcgis_map_sdk_ios/ArcgisMapView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ class ArcgisMapView: NSObject, FlutterPlatformView {
654654
centerChannel.setStreamHandler(nil)
655655
methodChan.setMethodCallHandler(nil)
656656
} else {
657-
DispatchQueue.main.async {
657+
DispatchQueue.main.sync {
658658
zoomChannel.setStreamHandler(nil)
659659
centerChannel.setStreamHandler(nil)
660660
methodChan.setMethodCallHandler(nil)

0 commit comments

Comments
 (0)