Skip to content

Commit

Permalink
Fix a potential deadlock in iOS LineOfSightGeoElement sample (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
mstefarov authored Jun 28, 2018
1 parent 7ab63f5 commit a7e8cfd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private MapPoint InterpolatedPoint(MapPoint firstPoint, MapPoint secondPoint, do
private void Geoline_TargetVisibilityChanged(object sender, EventArgs e)
{
// This is needed because Runtime delivers notifications from a different thread that doesn't have access to UI controls
InvokeOnMainThread(UpdateUiAndSelection);
BeginInvokeOnMainThread(UpdateUiAndSelection);
}

private void UpdateUiAndSelection()
Expand Down

0 comments on commit a7e8cfd

Please sign in to comment.