summaryrefslogtreecommitdiff
path: root/Tizen.NUI/src/public/BaseComponents
diff options
context:
space:
mode:
authorUmar <m.umar@partner.samsung.com>2017-07-12 15:31:16 +0100
committerUmar <m.umar@partner.samsung.com>2017-07-18 14:19:37 +0100
commit3f3296d9f823539c77dcfb8b7956e5ff0df5586d (patch)
treee7fed6e437bbe401bd4294c35b3f488c1fec268b /Tizen.NUI/src/public/BaseComponents
parent2ebc4750316748bc2b940823ae6415c01a317f47 (diff)
downloadnui-3f3296d9f823539c77dcfb8b7956e5ff0df5586d.tar.gz
nui-3f3296d9f823539c77dcfb8b7956e5ff0df5586d.tar.bz2
nui-3f3296d9f823539c77dcfb8b7956e5ff0df5586d.zip
Revert "Ensuring that Registry.Unregister is called from the most derived class before the native handle is deleted."
This reverts commit 546ce0ad1ee0ef2b2c2a79d7f186ef080bfdfec0. Change-Id: I76f65ca1f6596503d8e0897f6aa37e31aef46628
Diffstat (limited to 'Tizen.NUI/src/public/BaseComponents')
-rwxr-xr-xTizen.NUI/src/public/BaseComponents/Scrollable.cs4
-rwxr-xr-xTizen.NUI/src/public/BaseComponents/TableView.cs4
-rwxr-xr-xTizen.NUI/src/public/BaseComponents/TextEditor.cs4
-rwxr-xr-xTizen.NUI/src/public/BaseComponents/TextField.cs4
-rwxr-xr-xTizen.NUI/src/public/BaseComponents/TextLabel.cs4
-rwxr-xr-xTizen.NUI/src/public/BaseComponents/VideoView.cs4
-rwxr-xr-xTizen.NUI/src/public/BaseComponents/View.cs4
7 files changed, 0 insertions, 28 deletions
diff --git a/Tizen.NUI/src/public/BaseComponents/Scrollable.cs b/Tizen.NUI/src/public/BaseComponents/Scrollable.cs
index 291626d..37b8cfd 100755
--- a/Tizen.NUI/src/public/BaseComponents/Scrollable.cs
+++ b/Tizen.NUI/src/public/BaseComponents/Scrollable.cs
@@ -58,10 +58,6 @@ namespace Tizen.NUI.BaseComponents
if (swigCMemOwn)
{
swigCMemOwn = false;
-
- //Unreference this instance from Registry.
- Registry.Unregister(this);
-
NDalicPINVOKE.delete_Scrollable(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
diff --git a/Tizen.NUI/src/public/BaseComponents/TableView.cs b/Tizen.NUI/src/public/BaseComponents/TableView.cs
index b8e3015..5744fc0 100755
--- a/Tizen.NUI/src/public/BaseComponents/TableView.cs
+++ b/Tizen.NUI/src/public/BaseComponents/TableView.cs
@@ -62,10 +62,6 @@ namespace Tizen.NUI.BaseComponents
if (swigCMemOwn)
{
swigCMemOwn = false;
-
- //Unreference this instance from Registry.
- Registry.Unregister(this);
-
NDalicPINVOKE.delete_TableView(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
diff --git a/Tizen.NUI/src/public/BaseComponents/TextEditor.cs b/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
index 16be393..23d3165 100755
--- a/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
+++ b/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
@@ -63,10 +63,6 @@ namespace Tizen.NUI.BaseComponents
if (swigCMemOwn)
{
swigCMemOwn = false;
-
- //Unreference this instance from Registry.
- Registry.Unregister(this);
-
NDalicPINVOKE.delete_TextEditor(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
diff --git a/Tizen.NUI/src/public/BaseComponents/TextField.cs b/Tizen.NUI/src/public/BaseComponents/TextField.cs
index f6e6eba..7b896bc 100755
--- a/Tizen.NUI/src/public/BaseComponents/TextField.cs
+++ b/Tizen.NUI/src/public/BaseComponents/TextField.cs
@@ -64,10 +64,6 @@ namespace Tizen.NUI.BaseComponents
if (swigCMemOwn)
{
swigCMemOwn = false;
-
- //Unreference this instance from Registry.
- Registry.Unregister(this);
-
NDalicPINVOKE.delete_TextField(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
diff --git a/Tizen.NUI/src/public/BaseComponents/TextLabel.cs b/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
index 4aa7280..19a0111 100755
--- a/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
+++ b/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
@@ -63,10 +63,6 @@ namespace Tizen.NUI.BaseComponents
if (swigCMemOwn)
{
swigCMemOwn = false;
-
- //Unreference this instance from Registry.
- Registry.Unregister(this);
-
NDalicPINVOKE.delete_TextLabel(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
diff --git a/Tizen.NUI/src/public/BaseComponents/VideoView.cs b/Tizen.NUI/src/public/BaseComponents/VideoView.cs
index bf20336..7c380b9 100755
--- a/Tizen.NUI/src/public/BaseComponents/VideoView.cs
+++ b/Tizen.NUI/src/public/BaseComponents/VideoView.cs
@@ -60,10 +60,6 @@ namespace Tizen.NUI.BaseComponents
if (swigCMemOwn)
{
swigCMemOwn = false;
-
- //Unreference this instance from Registry.
- Registry.Unregister(this);
-
NDalicPINVOKE.delete_VideoView(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
diff --git a/Tizen.NUI/src/public/BaseComponents/View.cs b/Tizen.NUI/src/public/BaseComponents/View.cs
index 025832f..a36ae38 100755
--- a/Tizen.NUI/src/public/BaseComponents/View.cs
+++ b/Tizen.NUI/src/public/BaseComponents/View.cs
@@ -64,10 +64,6 @@ namespace Tizen.NUI.BaseComponents
if (swigCMemOwn)
{
swigCMemOwn = false;
-
- //Unreference this instance from Registry.
- Registry.Unregister(this);
-
NDalicPINVOKE.delete_View(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);