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-07-10 11:11:25 +0900
commitf2cd0ce4493293e6a6821902af2e20ec7da81377 (patch)
tree993b7332023dc0febe5ef6c68445612b9bb6668a
parent07f331195fd38d99939143f42f9af28239ffadc9 (diff)
downloadxamarin-forms-f2cd0ce4493293e6a6821902af2e20ec7da81377.tar.gz
xamarin-forms-f2cd0ce4493293e6a6821902af2e20ec7da81377.tar.bz2
xamarin-forms-f2cd0ce4493293e6a6821902af2e20ec7da81377.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.