summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungkeun Lee <sngn.lee@samsung.com>2017-09-11 00:43:35 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 04:34:41 (GMT)
commitf3a4581eabe2c379e767c3d34b2d61727e99f001 (patch)
tree8c554b08aad4f75c74647e3ad20406b99412eec8
parent0880875319266e1b579bf29dfdb9d6e2633f1cea (diff)
downloadxamarin-forms-f3a4581eabe2c379e767c3d34b2d61727e99f001.zip
xamarin-forms-f3a4581eabe2c379e767c3d34b2d61727e99f001.tar.gz
xamarin-forms-f3a4581eabe2c379e767c3d34b2d61727e99f001.tar.bz2
Fix BeginInovkeOnMainThread
- Always post to main loop message queue - It is same behavior with others platform - Layout use BeginInvokeOnMainThread and it should execute later than others Change-Id: I13af1dcdcfc1a6dc134816added4922b9f2e74cd
-rw-r--r--Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs9
1 files changed, 1 insertions, 8 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs b/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs
index 449b093..5e6c71c 100644
--- a/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs
+++ b/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs
@@ -95,14 +95,7 @@ namespace Xamarin.Forms.Platform.Tizen
public void BeginInvokeOnMainThread(Action action)
{
- if (EcoreMainloop.IsMainThread)
- {
- action();
- }
- else
- {
- s_context.Post((o) => action(), null);
- }
+ s_context.Post((o) => action(), null);
}
public Ticker CreateTicker()