summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-05-11 13:39:29 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-05-11 13:39:29 +0900
commit9b340ebc2c4f9091d029bb413c4dcbd58abc40cb (patch)
tree75f4fc89a3bb735533d60e04dff2e2a82eb5cabd
parentf78b84d7010e0a774f22903b2f8d23945cc182d0 (diff)
downloadxamarin-forms-9b340ebc2c4f9091d029bb413c4dcbd58abc40cb.tar.gz
xamarin-forms-9b340ebc2c4f9091d029bb413c4dcbd58abc40cb.tar.bz2
xamarin-forms-9b340ebc2c4f9091d029bb413c4dcbd58abc40cb.zip
Unrealize dialog after it dissmissed.
- this approach is from native EFL API usage. Change-Id: Ic62ea6005074e8bfc6db312b66acfa93178ac87f
-rw-r--r--[-rwxr-xr-x]Xamarin.Forms.Platform.Tizen/Native/Dialog.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Dialog.cs b/Xamarin.Forms.Platform.Tizen/Native/Dialog.cs
index e616ff5a..8e0cb735 100755..100644
--- a/Xamarin.Forms.Platform.Tizen/Native/Dialog.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Dialog.cs
@@ -189,6 +189,8 @@ namespace Xamarin.Forms.Platform.Tizen.Native
Dismissed += (s, e) =>
{
OnDismissed();
+ //Native control should be freed after dismissed event occurred. (this is EFL's law.)
+ Unrealize();
};
// Adds a handler for the Shown event.