[NUI] Remove duplicate code (#2077)
authorJoogabYun <40262755+JoogabYun@users.noreply.github.com>
Tue, 6 Oct 2020 08:45:41 +0000 (17:45 +0900)
committerGitHub <noreply@github.com>
Tue, 6 Oct 2020 08:45:41 +0000 (17:45 +0900)
src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs

index 991c36e5be6d0f34d9cd6c6036fa8e7b1d74ab2d..5aca0fb93f24305231f7e9ee0998255a0a732227 100755 (executable)
@@ -1180,36 +1180,6 @@ namespace Tizen.NUI.BaseComponents
                 this.ResourcesLoadedSignal().Disconnect(_ResourcesLoadedCallback);
             }
 
-            if (_offWindowEventCallback != null)
-            {
-                this.OffWindowSignal().Disconnect(_offWindowEventCallback);
-            }
-
-            if (_onWindowEventCallback != null)
-            {
-                this.OnWindowSignal().Disconnect(_onWindowEventCallback);
-            }
-
-            if (_wheelEventCallback != null)
-            {
-                this.WheelEventSignal().Disconnect(_wheelEventCallback);
-            }
-
-            if (_hoverEventCallback != null)
-            {
-                this.HoveredSignal().Disconnect(_hoverEventCallback);
-            }
-
-            if (_touchDataCallback != null)
-            {
-                this.TouchSignal().Disconnect(_touchDataCallback);
-            }
-
-            if (_onRelayoutEventCallback != null)
-            {
-                this.OnRelayoutSignal().Disconnect(_onRelayoutEventCallback);
-            }
-
             if (_keyCallback != null)
             {
                 this.KeyEventSignal().Disconnect(_keyCallback);