diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2017-05-11 13:39:29 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-05-11 13:39:29 +0900 |
commit | 9b340ebc2c4f9091d029bb413c4dcbd58abc40cb (patch) | |
tree | 75f4fc89a3bb735533d60e04dff2e2a82eb5cabd | |
parent | f78b84d7010e0a774f22903b2f8d23945cc182d0 (diff) | |
download | xamarin-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.cs | 2 |
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. |