From c10e7b2b26e2ebf7b472d942797b6695dfad50e9 Mon Sep 17 00:00:00 2001 From: Gerald Versluis Date: Mon, 4 Apr 2022 15:28:11 +0200 Subject: [PATCH] Update Permissions.ios.tvos.watchos.cs --- src/Essentials/src/Permissions/Permissions.ios.tvos.watchos.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Essentials/src/Permissions/Permissions.ios.tvos.watchos.cs b/src/Essentials/src/Permissions/Permissions.ios.tvos.watchos.cs index 6a815686cddd..642d4e201a12 100644 --- a/src/Essentials/src/Permissions/Permissions.ios.tvos.watchos.cs +++ b/src/Essentials/src/Permissions/Permissions.ios.tvos.watchos.cs @@ -187,9 +187,9 @@ void LocationAuthCallback(object sender, CLAuthorizationChangedEventArgs e) } del.AuthorizationStatusChanged -= LocationAuthCallback; - tcs.TrySetResult(GetLocationStatus(whenInUse)); locationManager?.Dispose(); locationManager = null; + tcs.TrySetResult(GetLocationStatus(whenInUse)); } catch (Exception ex) {