Revert "[Tizen] Revert "Ensuring that Registry.Unregister is called from the most...
authordongsug.song <dongsug.song@samsung.com>
Tue, 25 Jul 2017 01:39:41 +0000 (10:39 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Tue, 25 Jul 2017 01:39:44 +0000 (10:39 +0900)
This reverts commit adc4dc0649b32729078b4b5fbbba2ed43f02bfa1.

Change-Id: I2a03d076f0da07426a1a2ee5cfeef582ae904f30

67 files changed:
src/Tizen.NUI/src/internal/AccessibilityManager.cs
src/Tizen.NUI/src/internal/Alignment.cs
src/Tizen.NUI/src/internal/Application.cs
src/Tizen.NUI/src/internal/AsyncImageLoader.cs
src/Tizen.NUI/src/internal/BufferImage.cs
src/Tizen.NUI/src/internal/Builder.cs
src/Tizen.NUI/src/internal/Camera.cs
src/Tizen.NUI/src/internal/CustomActor.cs
src/Tizen.NUI/src/internal/DragAndDropDetector.cs
src/Tizen.NUI/src/internal/EncodedBufferImage.cs
src/Tizen.NUI/src/internal/FrameBuffer.cs
src/Tizen.NUI/src/internal/FrameBufferImage.cs
src/Tizen.NUI/src/internal/GaussianBlurView.cs
src/Tizen.NUI/src/internal/GestureDetector.cs
src/Tizen.NUI/src/internal/Image.cs
src/Tizen.NUI/src/internal/KeyInputFocusManager.cs
src/Tizen.NUI/src/internal/LinearConstrainer.cs
src/Tizen.NUI/src/internal/ObjectRegistry.cs
src/Tizen.NUI/src/internal/PathConstrainer.cs
src/Tizen.NUI/src/internal/PropertyCondition.cs
src/Tizen.NUI/src/internal/PropertyNotification.cs
src/Tizen.NUI/src/internal/RenderTaskList.cs
src/Tizen.NUI/src/internal/TypeRegistry.cs
src/Tizen.NUI/src/public/Animatable.cs
src/Tizen.NUI/src/public/Animation.cs
src/Tizen.NUI/src/public/BaseComponents/Scrollable.cs
src/Tizen.NUI/src/public/BaseComponents/TableView.cs
src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextField.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
src/Tizen.NUI/src/public/BaseComponents/VideoView.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/BaseHandle.cs
src/Tizen.NUI/src/public/FocusManager.cs
src/Tizen.NUI/src/public/Geometry.cs
src/Tizen.NUI/src/public/ImfManager.cs
src/Tizen.NUI/src/public/KeyFrames.cs
src/Tizen.NUI/src/public/Layer.cs
src/Tizen.NUI/src/public/Path.cs
src/Tizen.NUI/src/public/PixelData.cs
src/Tizen.NUI/src/public/PropertyBuffer.cs
src/Tizen.NUI/src/public/Renderer.cs
src/Tizen.NUI/src/public/Sampler.cs
src/Tizen.NUI/src/public/ScrollViewEffect.cs
src/Tizen.NUI/src/public/Shader.cs
src/Tizen.NUI/src/public/StyleManager.cs
src/Tizen.NUI/src/public/TTSPlayer.cs
src/Tizen.NUI/src/public/Texture.cs
src/Tizen.NUI/src/public/TextureSet.cs
src/Tizen.NUI/src/public/Timer.cs
src/Tizen.NUI/src/public/Touch.cs
src/Tizen.NUI/src/public/TransitionData.cs
src/Tizen.NUI/src/public/TypeInfo.cs
src/Tizen.NUI/src/public/UIComponents/Button.cs
src/Tizen.NUI/src/public/UIComponents/CheckBoxButton.cs
src/Tizen.NUI/src/public/UIComponents/Popup.cs
src/Tizen.NUI/src/public/UIComponents/ProgressBar.cs
src/Tizen.NUI/src/public/UIComponents/PushButton.cs
src/Tizen.NUI/src/public/UIComponents/RadioButton.cs
src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs
src/Tizen.NUI/src/public/UIComponents/ScrollView.cs
src/Tizen.NUI/src/public/UIComponents/Slider.cs
src/Tizen.NUI/src/public/UIComponents/ToggleButton.cs
src/Tizen.NUI/src/public/ViewWrapper.cs
src/Tizen.NUI/src/public/VisualBase.cs
src/Tizen.NUI/src/public/VisualFactory.cs
src/Tizen.NUI/src/public/Window.cs

index 2fc760527b644ab8fdec1c8277f1461fe7d10441..969b8ee27fae8c5aec3ffe121985931e3da04c79 100755 (executable)
@@ -59,6 +59,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_AccessibilityManager(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index e64520e37c2fa980564428d6c44bc7593c4e5889..d2f219991a01c1f81997135d162a4d78bffc667c 100755 (executable)
@@ -57,6 +57,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Alignment(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 4e68bfe1f610b919b92d0ac53a63ec7bf8cc13d4..4e450d7ac49bdbf6b0c7b9fc82aeae74a7a79164 100755 (executable)
@@ -351,6 +351,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Application(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index f3f122d61fcbe1e826b3f004b8992d8795944982..0e90c9d15973f9b21a118f3b39b0a08c08f28777 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_AsyncImageLoader(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 0db41cf8f7ca6b72e9f889d02751588f23fbfad0..c20c32bfb733c19a3785d5d69202dd0fe84a926e 100755 (executable)
@@ -56,6 +56,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_BufferImage(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index b826f65cb3f720ce7a744103d8792aa28e7bf128..8e8d2f02f23451beacd8d5cba962fabd0cee0309 100755 (executable)
@@ -55,12 +55,15 @@ namespace Tizen.NUI
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
 
-
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Builder(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 7f98d94b02a976c480c4cb145a0990c525a606db..4bea2eda227b043b0ddcf5e48708fdc06116f6fa 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_CameraActor(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 8bea2d146c5b173dcb50e02bbbc77507963f2d3f..6855c2dffaac6a3d3331052955dae5c4dbfb82ff 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_CustomActor(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 5861ba3c1d5386373eef465674e790a5d6f6f531..886ecfb2a576ccea50b2cdfaeb7aabb8ebfee2dc 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_DragAndDropDetector(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 6f801c7d925655d747bdac3150ace1cdf62da890..49f70172197e40a50a1a790df8a7625ad669586d 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_EncodedBufferImage(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index aba063aaa04bb32ac17d8dccf8789b2224113208..567349954e4cbcd0df8dce3ebba7d27d18f00c8d 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_FrameBuffer(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 3646b8a4f5415b57cdb986c63ee9f291cc6a14af..387d3aad14b82793df54f25c9591866027a1d788 100755 (executable)
@@ -56,6 +56,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_FrameBufferImage(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index b9e2cddeabebbbc538f1292d84709d3422d71814..a19ae3ef2b466d0f67c07d2d54ad0647a211d3ba 100755 (executable)
@@ -61,6 +61,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_GaussianBlurView(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index faf27a3ad1fac9908dd61582cb6d8e2c34077bb5..8744b13d49098c8a4c31e147e49e1dd41e593d36 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_GestureDetector(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index af70862f625ea6d091bfb23185c2c2fab45547c3..408fb6b3dec6ffe28e6d81a8c73a95ec22a50af4 100755 (executable)
@@ -59,6 +59,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Image(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index dd6f093df5db11e6dcf1bb6cc428c587a13b1e19..624ec10109a24c2675dd7219ca94e212b4f14312 100755 (executable)
@@ -57,6 +57,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_KeyInputFocusManager(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 6004eb04efb3683b923748f51431ae5f39f1cdd5..009eba6b2fb08fe9196a24189f183c7b4c8161ca 100755 (executable)
@@ -56,6 +56,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_LinearConstrainer(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 5051c31df3bc092b26b32b488ac2c488834e73cf..3e2f99a03ce2e28ba871262af3e49c7a7041041f 100755 (executable)
@@ -59,6 +59,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_ObjectRegistry(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 9abb448821878f8e2f7c557ecf1a6ceddc07456f..e46ca02bf91be4158d23f75a26f90dcf27943a45 100755 (executable)
@@ -56,6 +56,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_PathConstrainer(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 278349f37917fbb1745763284cc7e32e4d6bd173..d6673d6876c47c93168c2e8cf675fc9f83063ee0 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_PropertyCondition(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index d084ca14ea822e9009e0e1f1766506ffe0d8bb57..0610108a71c42df673b4e8e7e6cc2ab21693bb3a 100755 (executable)
@@ -59,6 +59,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_PropertyNotification(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 250ba247a7c9ce2efa6eb03a043c19df00d11d0a..11facae0b7cd8d40b23abd9d062228fe782f0113 100755 (executable)
@@ -56,6 +56,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_RenderTaskList(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 2ac7953a38f7e17b3a79d6ac623e8177726949dd..647d92480935686205fa45fd7811105c954e51e5 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_TypeRegistry(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 578477f9b5778422c62f28b800162140d7c2c880..a718fb821a5ba2925c2d87001be095a2d8c19a3c 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Handle(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index d999316db866fa4b131a68ff845b9af61faaf0be..451cffe736decba7f965190a05f990983ceefda4 100755 (executable)
@@ -70,6 +70,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Animation(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 37b8cfd885f45097a51576a60382cf30b3c10885..291626d0524a774881f934ebc2a3afc7751e8afb 100755 (executable)
@@ -58,6 +58,10 @@ 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);
index 5744fc08a5d3baab22e8ed55d91b76f73da13007..b8e3015eb3b6eb157ae32b1af0f2bf8388c153e8 100755 (executable)
@@ -62,6 +62,10 @@ 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);
index 6900bc4b4b312cf21b9c74398a140018305bb6d3..a651298e0892780ec15db1f15087238af3a057a2 100755 (executable)
@@ -63,6 +63,10 @@ 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);
index 7bb8f3f59341e03311e3a6b7fca8c91662767ea0..5703250da656b752296f7cd883f6db98d63fe571 100755 (executable)
@@ -64,6 +64,10 @@ 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);
index bc794d7a9e32a40e919f6edee586842b78a29b7a..eaf39735729bee0d8a20d375f213edbb780e5bef 100755 (executable)
@@ -63,6 +63,10 @@ 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);
index 7c380b97acaf94a61a98ddbe61685a78317ea136..bf203369b123b38267e7e369f8ec5f209bd97b2d 100755 (executable)
@@ -60,6 +60,10 @@ 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);
index 100800a1e95748f175739d4524e5f666a181d252..48001114e80b913a90372c6bf79dde1863b6aebf 100755 (executable)
@@ -64,6 +64,10 @@ 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);
index 8ac41e08b16530ec3d738ec07d15640d2c000a7c..848b9950d3d7f2e7c4fadbb91a19e09893347978 100755 (executable)
@@ -88,14 +88,15 @@ namespace Tizen.NUI
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
 
-            //Unreference this instance from Registry.
-            Registry.Unregister(this);
-
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_BaseHandle(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 8eb6116723da0856db045a1d7fa519f2254741f9..f93a4716ac1cd6ba50ee9521c204a17d7bb263e5 100755 (executable)
@@ -70,6 +70,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicManualPINVOKE.delete_FocusManager(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 4752be25f1e0f86e42b2c1ea74f618ab07f59b3c..2fc19a59286dbeccd98eb1ab549bd477fe47f468 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Geometry(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index a1234e44c45d33e1d0763d7cff06bc741d966d87..34122ea5439fb7153008f32c785bd6f0c2afd766 100755 (executable)
@@ -58,6 +58,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicManualPINVOKE.delete_ImfManager(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 8b58ce5a4d8211106ae181bf8f5a51523326c14d..16382da201eaa72370e2a538d19954e7a3e6f784 100755 (executable)
@@ -60,6 +60,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_KeyFrames(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 84daa098d0e5caf3c7526f3e7e7793d3a03e7c32..6bef8bfe35a7c5fc665953eca0f355c791211cfc 100755 (executable)
@@ -59,6 +59,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Layer(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 4090eaaf72960799fea0aea338ada15c551ea76f..603eb14cc04122ce8cebb831702a5366b90541d3 100755 (executable)
@@ -60,6 +60,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Path(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 0b8f7a858286322e691f727476ec23d86fbea347..5837ebfd39cb85a825a330e2e6b5e5e19c775325 100755 (executable)
@@ -56,6 +56,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_PixelData(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index bbbb2b8c95ba1d49bb228f4b5842536fcf0397f5..fd8b66e271fce11694ce31a206bad7a63ed839e3 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_PropertyBuffer(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index d87500069b69e4e590ac7398f07ad282ee4dfc18..9db89a9926ff73e57211e9df872f79e596be3227 100755 (executable)
@@ -56,6 +56,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Renderer(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index c1ed5ed04df89dfbce1279d195fb0d99dbdf97a2..bccaec99f27bc6dcf46cf17c98da87c0e07a432c 100755 (executable)
@@ -56,6 +56,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Sampler(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 89d9762d2f943280be0f2f27eb28fc01c25dd3a3..bfb887ac3e2d08020c14d4f09f01e38daf9ebe32 100755 (executable)
@@ -56,6 +56,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_ScrollViewEffect(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 317e9ce4181025f79d22462fc93a5d24cac22df7..34cba5850dd155fed33857f0cd1b0c5d9d1c24e6 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Shader(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 960b5f45d02831eee45273a8fbe0c3d1bd634c26..441f4ba3ec4555ac2b2da248bf71803bc110fcef 100755 (executable)
@@ -68,6 +68,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_StyleManager(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index ec2b788c68d9bbfab01308c6a82100e1106d1acc..4acfe541bd326326afdfa7c400af1beff8580917 100755 (executable)
@@ -59,6 +59,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicManualPINVOKE.delete_TtsPlayer(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 2503ca5cf8acc1dd1ffb2e4ed57525a434831f3d..9f584334af6a51cb35683b5daea043f2ed93432d 100755 (executable)
@@ -56,6 +56,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Texture(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index c7ee739fc6951b5334314086bd5b58f948a5f272..f2a09eed375697457281171d55ef6b6e258329d6 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_TextureSet(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 8229740fda4d974b989e7a62f91ba2755829ae22..14ceeda493ad8f7a872ebfd98f14e9ba8d5385e8 100755 (executable)
@@ -67,6 +67,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Timer(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index a547720daa799224c9e80fed3c190f3406e26229..601f58fc3fdd53c9d9bfc0a3281f51c293d3b16f 100755 (executable)
@@ -59,6 +59,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Touch(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index b3611a09194e33083fbd9ed95b291fb471abbc7e..0a86cc217da1f4e94fb3721b3298416003f287e8 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_TransitionData(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 0583ffe0994f64a6e22c09d07ebaf933c9085aa8..7773fa47997044b32cdc543ecc548dcfa1f1578f 100755 (executable)
@@ -55,6 +55,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_TypeInfo(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index a67858daadb23950b90a5723c1347af5f04f6234..430471faf1e26b7aa9169d71601569a37ecde40d 100755 (executable)
@@ -77,6 +77,10 @@ namespace Tizen.NUI.UIComponents
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Button(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index e2ef38a1950795ec44f444e1b698107f001ed98a..ea094b837118db0d7a7c307cf992c0a9f8492b4e 100755 (executable)
@@ -68,6 +68,10 @@ namespace Tizen.NUI.UIComponents
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_CheckBoxButton(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 1a933a47741720cbb20d01e4aebf0b5073890667..395ab74fd337a59ad21c1ab5317b3396bbb03b89 100755 (executable)
@@ -63,6 +63,10 @@ namespace Tizen.NUI.UIComponents
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Popup(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 978e7775325dbba89414c65fb687272e95634060..6ec9d1535b1f22ae401dd498b1da29c90871c7bf 100755 (executable)
@@ -65,6 +65,10 @@ namespace Tizen.NUI.UIComponents
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_ProgressBar(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 39bd34c7a7f4fa9d4f99b4de7dae1de06aae0d6e..8352dcd1093393d93171f695d22231ee52c06851 100755 (executable)
@@ -63,6 +63,10 @@ namespace Tizen.NUI.UIComponents
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_PushButton(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index d082422d85258c6c86f79fd1c29cc4802e2b421b..a6babcf094e7e0435e43dd3cfd78577f3f510ab1 100755 (executable)
@@ -71,6 +71,10 @@ namespace Tizen.NUI.UIComponents
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_RadioButton(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index d1d619fb5d0821d637561fde0676525f6c4cb65b..6b02b69f43c51b6cbccdfbbe734bd6b400e517ab 100755 (executable)
@@ -65,6 +65,10 @@ namespace Tizen.NUI.UIComponents
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_ScrollBar(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index b9bb7eab82256765d1b80d0cd7609b3a3a291d3f..c84a51f6dfd89c6ce467e7dad01e449fa169ff58 100755 (executable)
@@ -59,6 +59,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_ScrollView(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 6783fe0ec03884d130bcbe308a783fef5dac3da3..258fb5844a1cb47d4b4b2197e24764b98351ffc1 100755 (executable)
@@ -65,6 +65,10 @@ namespace Tizen.NUI.UIComponents
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Slider(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index fe3eef4e2b3c7d4d8e346250c8bcf4d8797d3134..62f08900599704f55cf3b452cc3bca81d75d8cba 100755 (executable)
@@ -57,6 +57,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_ToggleButton(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index f93135732f74255dd6c3011a87e2cb5fad955319..a89fcd3015dc19cf8f0339d17960f5ce038af321 100755 (executable)
@@ -58,6 +58,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicManualPINVOKE.delete_ViewWrapper(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 42311b16b814dbbe67d606229dfade98bbec3719..ffb947a05dc35ff38b8e4af240ae912ffb897794 100755 (executable)
@@ -59,6 +59,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_VisualBase(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 9c6e7c25f5ee4f355c6adede13a72770a5b9d4d5..ae2a6e808bbc8b0ce23b3187706b0c47add42d2c 100755 (executable)
@@ -57,6 +57,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_VisualFactory(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
index 7a610fd9c128d13970e5b7252b304f3cd20d90ce..70039ec0dc0de2b9625d8673e09dcf9c5658e97b 100755 (executable)
@@ -70,6 +70,10 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
+
+                    //Unreference this instance from Registry.
+                    Registry.Unregister(this);
+
                     NDalicPINVOKE.delete_Window(swigCPtr);
                     NDalicPINVOKE.delete_Stage(stageCPtr);
                 }