summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen
diff options
context:
space:
mode:
authorJongHeon Choi <j-h.choi@samsung.com>2016-12-20 08:16:41 (GMT)
committerJongHeon Choi <j-h.choi@samsung.com>2016-12-21 06:30:50 (GMT)
commit5e4b7f8cfc9f7fcb8f38142689795aae03021284 (patch)
tree8f812f5188fc552c9998e2707720f388e6bd44ed /Xamarin.Forms.Platform.Tizen
parent82202551185931829d9ea100ed4bef0c3de83b85 (diff)
downloadxamarin-forms-5e4b7f8cfc9f7fcb8f38142689795aae03021284.zip
xamarin-forms-5e4b7f8cfc9f7fcb8f38142689795aae03021284.tar.gz
xamarin-forms-5e4b7f8cfc9f7fcb8f38142689795aae03021284.tar.bz2
Unregister ScrollRequestHandler when the renderer is being destroyedrefs/changes/83/106183/4
Change-Id: Iae05a147f16932b27bb08ac3d3bdf016040af5c6
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen')
-rwxr-xr-xXamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs
index 29f15fb..a566f24 100755
--- a/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs
@@ -50,9 +50,9 @@ namespace Xamarin.Forms.Platform.Tizen
protected override void Dispose(bool disposing)
{
- if (null != Control)
+ if (null != Element)
{
- (Control as IScrollViewController).ScrollToRequested -= ScrollRequestHandler;
+ (Element as IScrollViewController).ScrollToRequested -= ScrollRequestHandler;
}
base.Dispose(disposing);