[NUI] Do not register when BaseHandle doesn't have body
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 2 Nov 2023 07:44:01 +0000 (16:44 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 6 Nov 2023 11:32:05 +0000 (20:32 +0900)
commit2ef96bb43de2d334dd250fb903c13a357b19e938
tree824809086512b77dc2dd7e8ed28e25fb40d78ce6
parentd2ea90b7842eb382383d7f3063dd7fab4ef5cdee
[NUI] Do not register when BaseHandle doesn't have body

If BaseHandle doesn't have body, the refCPtr value is IntPtr.Zero.

If than, the various cases have wrong registration in future.

To avoid this case, let we ignore to register to registry, and
make BaseHandle.registerMe value as false.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/internal/Common/Registry.cs
src/Tizen.NUI/src/public/Common/BaseHandle.cs