summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrina6350.you <rina6350.you@samsung.com>2017-06-28 09:01:42 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 04:34:37 (GMT)
commit84f56a274c0bddd7e1ef99ee45e44558c7355556 (patch)
tree133b82bd7c4e2834796b56aea719fddc1615b3fe
parent9dd673e3eae6bf6beef737e166443d9c6cb41083 (diff)
downloadxamarin-forms-84f56a274c0bddd7e1ef99ee45e44558c7355556.zip
xamarin-forms-84f56a274c0bddd7e1ef99ee45e44558c7355556.tar.gz
xamarin-forms-84f56a274c0bddd7e1ef99ee45e44558c7355556.tar.bz2
Fix the crash issue when editor is added in ListView
TASK=TCAPI-2480 Change-Id: Icfb93cdc55fef7cb17f0a54f9c88cdd0d38ed70e
-rwxr-xr-x[-rw-r--r--]Xamarin.Forms.Platform.Tizen/Renderers/EditorRenderer.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/EditorRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/EditorRenderer.cs
index f37566a..7209eae 100644..100755
--- a/Xamarin.Forms.Platform.Tizen/Renderers/EditorRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/EditorRenderer.cs
@@ -44,6 +44,16 @@ namespace Xamarin.Forms.Platform.Tizen
base.OnElementChanged(e);
}
+ protected override void Dispose(bool disposing)
+ {
+ if (null != Control)
+ {
+ Control.TextChanged -= TextChanged;
+ Control.Activated -= Completed;
+ }
+
+ base.Dispose(disposing);
+ }
protected override void OnElementReady()
{