Permalink
Browse files

Attempt at fixing crash we experience in VisualElementTracker

I am confused why this weird code is even here...
It was calling into CADisplayLinkerTicker which turns off
CheckForIllegalCrossThreadCalls
I am both scared and confused...
  • Loading branch information...
Jonathan Peppers
Jonathan Peppers committed Jun 16, 2016
1 parent b0cc6ce commit 4fa3c8c0e732cc6255227d5ecce291ec203f4d58
Showing with 1 addition and 1 deletion.
  1. +1 −1 Xamarin.Forms.Platform.iOS/VisualElementTracker.cs
@@ -211,7 +211,7 @@ void OnUpdateNativeControl(CALayer caLayer)
};
if (thread)
CADisplayLinkTicker.Default.Invoke(update);
Device.BeginInvokeOnMainThread(update);
else
update();

0 comments on commit 4fa3c8c

Please sign in to comment.