[NUI] Fix Utility.Dispose not to set null to method parameter
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 3 May 2021 06:47:04 +0000 (15:47 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Fri, 21 May 2021 07:37:43 +0000 (16:37 +0900)
Setting a value to method parameter does not work unless the method
parameter is defined with out keyword.

Not to confuse users, setting null to method parameter is removed.

src/Tizen.NUI.Components/Utils/Utility.cs

index ec704ec62c3c129b00ee076747fe2651650fbec9..2c28b4e2f94362ec587e48b444faf10ef22a1607 100755 (executable)
@@ -34,7 +34,6 @@ namespace Tizen.NUI.Components
                 }
 
                 child.Dispose();
-                child = null;
             }
         }
     }